Using <div>

Discussion about the creation of websites in general, HTML, PHP, Java.

Using <div>

Postby Null on Mon Apr 24, 2006 1:25 am

I am building a site and I am unable to get it to all line up. I'm using a css stylesheet and <div> command. It all appears to be just floating in the centre for some reason.

Any idea's why?
Null
Newbie
Newbie
 
Posts: 17
Joined: Mon Apr 24, 2006 12:50 am

Postby al_tyranny on Mon Apr 24, 2006 3:53 am

You're being too vague for anyone to help! Please paste some code here so we can see what's going on, or describe what attributes you're using on the tags.

Also, make sure you're not using IE ;)
mm_freak wrote:Slackware users are dreamers. Sorry to say.
al_tyranny
Phoenix Veteran
Phoenix Veteran
 
Posts: 294
Joined: Tue May 17, 2005 3:18 am
Location: Greater Boston Area

Postby Rommaster on Tue Apr 25, 2006 1:22 pm

What about posting a picture of the site.
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby Samppa on Tue Apr 25, 2006 2:24 pm

Yup, IE will screw the divs up.

God forbid anyone I'm in contact with actually uses that Wink
(\__/)
(='.'=) This is RomMaster's Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Samppa
Phoenix Veteran
Phoenix Veteran
 
Posts: 744
Joined: Thu Feb 02, 2006 10:00 am
Location: Finland

Postby icarus on Tue Apr 25, 2006 3:55 pm

div is good for structuring page layout if you use it wisely. you need to use css also to get the alignment right.

you may visit http://www.tunedstudios.com/ for an example on how you can create a browser-stable design with div tags
eat my shorts
icarus
Contributer
Contributer
 
Posts: 37
Joined: Fri Apr 21, 2006 10:12 am


Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron