I'm re-designing VibeWave.com internally so that instead of tables to primarily align content (which can be unpredictable sometimes) I am doing it in style sheets. Well, this is new land for me.
If you go to http://www.vibewave.com/test you'll notice how much I have completed (also am making it wider ) - but I need help with the DIV to place the main content. I may also need help with those "Spotlighted Software" and "Featured Classified" tables, "quote of the moment" stuff, etc, too, once I get the main body DIV built.
So, can anybody get me started on how to build the body DIV for my website? (it's centered using stylesheets so I can't just do left: in the thingy)
compuXP wrote:
So, can anybody get me started on how to build the body DIV for my website? (it's centered using stylesheets so I can't just do left: in the thingy)
On a side note, you should put quotes around your attribute values...
Hmm. well I have a dirty habit of putting <center> at the top of the document and then putting text-align:left as a CSS attribute in everything else. It's a dirty habit though, but it works.
You're gonna need to use the CSS float attribute to get things sitting where you want them too. I can perhaps post a sample code if you really need some help.
Yes, I'm sorry. I just feel so rushed because I'm the only programmer/movie reviewer/web designer/artist/member (almost)/advertiser on my site, all of which have an agenda about 100 pages long.
Yeah, I've been reading there. I got it to work in firefox! Now for dumb ol' IE... It works great on IE like a square hole with a round peg in it.
This is due to IE and NS/Moz using the padding attribute in CSS differently. IE adds it to the total width, whereas NS includes it as part of the wdith. It's one of the biggest pains between the two.
I believe if you set a strict DOCTYPE then you can get IE to render correctly
Okay... now as for doc type.... I put in a doc type (the default one that is inserted when you start a new PHP file with dreamwaver) and it totally got worse.
d11wtq wrote:No, don't use loose. This doctype is said to make IE6 completely CSS1 compliant... (Please shout at me if I'm providing false info here guys ).