My background wont fit a universal screen ( HTML - CSS)?
-
So far I have.... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-… <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Home Page</title> <style type="text/css"> body { width: 100%; height: 100%; margin: 0 auto; background: #fff url(homesky.gif) no-repeat; } This is my background CSS code I have seen that CSS codes are very unefisiant when applying to universal rules I.E. if I want to make an image transparent there is a code for each type of browser obviously I can't use all of them, I would like to know a CSS code that will FILL any screen, and have all of my Div boxes. I am only 17 I have started with Programing C++ and HTML / web design in general is just confusing to me at the moment but I have the basics know. Will someone help me whit the code please :) @!~ ( Be specific and slow explaining I am new to web design >.< ) thanks !
-
Answer:
Choosing Dimensions for Your Web Page Layout: In Search of the Holy Grail: http://www.alistapart.com/articles/holygrail/ http://www.elated.com/articles/choosing-dimensions-for-your-web-page-layout/ How to create flexible sites quickly using standards like CSS and XHTML: http://www.ibm.com/developerworks/web/library/wa-rapid/ Care With Font Size: http://www.w3.org/QA/Tips/font-size Why Validate?: http://validator.w3.org/docs/why.html CSS Validator: http://jigsaw.w3.org/css-validator/ HTML Validator: http://validator.w3.org/#validate_by_uri+with_options But it Doesn’t Validate : http://net.tutsplus.com/articles/general/but-it-doesnt-validate/ Ron
Phillip at Yahoo! Answers Visit the source
Other answers
There are some things that depend on how the particular browser does things, so you have to write code for each browser type you want to support. There just are no "universal codes" for those things. (And there won't be as long as Microsoft refuses to do things the way the rest of the industry does.)
Colanth
Related Q & A:
- How to fit a Manual Turbo Boost Controller Bleed Valve Kit to a Vauxhall Cavalier Turbo?Best solution by Yahoo! Answers
- Will a d16y8 tranny fit a d16z6?Best solution by Yahoo! Answers
- Is it possible to fit a laptop in a car?Best solution by Yahoo! Answers
- How to use a laptop screen as just a screen?Best solution by Yahoo! Answers
- How do you fit a video to a screen?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.