Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HTML & CSS LAYOUT

Posted on 2011-03-19
4
Medium Priority
?
231 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

618 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