?
Solved

HTML & CSS LAYOUT

Posted on 2011-03-19
4
Medium Priority
?
227 Views
Last Modified: 2012-05-11
Hi,
I build this site and wondering that, the code in CSS, is cross browser compatible or not? I've already checked the site in all latest version browsers(IE, FF, OPERA & SAFARI)and its working fine but as a newbie in CSS, looking help. if somebody read my CSS/HTML code and help me out to find out fixes in my code would be deeply appreciatable.

Also wondering, when should I need to use positioning in CSS or use FLOAT instead of positioning. Looking forward for response. site.zip
0
Comment
Question by:s_hausen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 35172711
Well, it looks and feels the same in IE and Opera.
For the validation, you should definetely use W3C Validator for HTML / CSS
It will tell you more then you want to know ;)
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
0
 

Author Comment

by:s_hausen
ID: 35172780
Hi Roads,
Its look like the css is all good, the message is Congratulations! No Error Found.
there's some errors in html which can be fixed easily.

I was wondering, when its good to use positioning in css and its only specific with images. secondly when should i use the height property in my css. and one more last thing if i'm using many floating div stacking on each other, do i need to use overflow in each divs??
0
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 2000 total points
ID: 35172880
Positioning in CSS in my opinion is ok - it keeps the code clear and easy to move with only css properties.
Height property as well as width should be used just for the fixed elements which are not "moving" dynamically on the page. As for the floating divs - I use them all the time and only few times I needed to use overflow hidden - I think they should be - even floated - placed just right not to use the overflow.
0
 

Author Closing Comment

by:s_hausen
ID: 35173754
thx
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question