Jump to content

CSS - Div Layout to Replace Tables


FrostbiteXIII

Recommended Posts

OK, so Im trying to get rid of tables for layout, but div tags confuse me - is the best way *really* to have float labels to get around td tags?If Im being vague, please let me know - in the meantime, heres what I have so far...www.catkisses.co.ukEDIT: As you can see, my 2 major issues are the fact that the rhs doesnt go right over to the left, and the lhs background doesnt go top to bottom...Many thanks in advance,Frosty

Link to comment
Share on other sites

OK, again, I gave up and put it into tables! :) Now just to fix the sidebar - apparently margins or similar are different by default in IE and Firefox - anyone know whats up?Actually, Ill post in the html thread... Or something...EDIT: Actually, it looks like it belongs in this thread more than any other... Ill update my title... :)EDIT EDIT: Looks like I cant update the title, I will create a new topic!Frosty

Link to comment
Share on other sites

apparently margins or similar are different by default in IE and Firefox - anyone know whats up?
That's right, you should set them in the css to zero, this helps the problem but doesn't always fix it.body{margin:0;padding:0;}
Link to comment
Share on other sites

That's right, you should set them in the css to zero, this helps the problem but doesn't always fix it.body{margin:0;padding:0;}

Adding a height to them also may help with cross-browser problems.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...