Solved

HTML & CSS LAYOUT

Posted on 2011-03-19
4
220 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
  • 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 500 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now