Tutorial
Click on thumbnailed images to enlarge
A while ago (actually a long time ago), a friend of mine taught me a little secret when it comes to div layering that some of you may or may not know.
This is basically a little thing to toy around with for those of you that have experienced positioning issues with IE or FF when attempting to position in one browser without it coming out right in the other.
Now, do you see the "margin-top" and "_margin-top"?
I'm using the property "margin-top" as an example.
To explain this: certain browsers read certain things. The underscore you see (_margin-top:#px;) means that ONLY IE will read it. You can position the regular "margin-top" as you see it fit in FF.
Hope this helps! :)
Tutorial Comments
Showing latest 10 of 39 comments
please can u help me with DIV layouts
im new to this stuff
thats y I signed up to
this website but i dont get
any of this stuff u__u
thankss(:
i could kiss you, if this weren't the internet! thx for the tip!
Haha, holy crap, WOW!!
So many visitor complaints about using IE with website layouts.
I will never have to read another one again.
amazing.
Somewhat helpful if I even care what others see if there not using my browser. but hey. NEAT!
Hey, Im new & i was wondering if you could show me how to make a DIV layout. Im like COMPLETELY LOST. lol. I know basic HTML but I know nothing about layouts
I want to know how to make a div if you could please show me thanks (:
will someone PLEASE show me HOW to make a div to start with?
i'd LOVE to learn how.
please?
wow. thanks~
i'll remember to use this when i make a web layout.
hey. thanks for the tip.
I used it and it works beautifully. I can't get in lined up in Safari- any tips?
Tutorial Details
Author | ScarletNight |
Submitted on | Feb 24, 2007 |
Page views | 71,940 |
Favorites | 119 |
Comments | 39 |