Using css how can I make my background fit to the screen automatically?

1 Answer

Answer :

I would be better able to help you if you could be slightly more specific. Are you using as image as your background? A gradient? Some code or a link would also help. Hope to hear back from you soon!

Related questions

Description : What does background: transparent do in Eric Meyer's reset.css?

Last Answer : This is used to override any unexpected browser defaults of an opaque background on an element such as . I wouldn’t worry too much about it since it was added to fix unusual browser settings.

Description : How can using CSS help make a web site better or easier?

Last Answer : One way they help is by putting all of your formatting, styles, colors, etc in one easily changeable file. You can, for example.. have one file that tells your whole website how to look.. ... can be controlled by this one simple cascading style sheet. See this introduction for more info about it.

Description : Is there a way to get an "onrelease" state using CSS?

Last Answer : answer:I believe with just CSS the only pseudo-class that would come close is :hover for example .class:hover{ } . Unless there is something new that has come out. your best bet would be to would ... would also be more compatible with IE 6 (if your concerned) as IE 6 does not support :hover.

Description : Does anyone know of a good guide explaining how to position elements using CSS?

Last Answer : Google “css box model tutorial” and start experimenting. Don’t worry, it was a blur starting out for me too.. www.csszengarden.com is a great place to get inspiration too..

Description : How do I style input boxes using HTML/CSS?

Last Answer : I recommend downloading Firefox and the plugin Firebug (getfirebug.com). It's amazing. Then you can go to any website (like apple.com), press the green checkbox in the bottom right to open ... site in Safari because that browser has special rules about displaying input boxes--it's more restrictive.

Description : OK, !@*&% CSS, Why Won't My Headline Center?

Last Answer : The only thing I can think is that you have div.one-col set to display: inline. When I remove that formatting (using Google Chrome's developer tools), it does indeed center. (It also screws up ... the calendar disappears, but I'm betting you can fix that once you've addressed the July thing .)

Description : Tumblr css help?

Last Answer : answer:My instinct is that CSS will not be able to help you with this probably some scripting and HTML is in order. CSS will only change the look and feel of a page, not the function (having a ... any themes that have this functionality, and can you look at the code to figure out how it's done?

Description : Is there a code for CSS/Javascript to keep your contents in place when re-sizing a window?

Last Answer : Is your site fixed width?

Description : HTML vs. CSS?

Last Answer : The point of CSS is to capture style information in a single location..Not only is this good coding pracitice, but if you use the CSS styles consistently, you can change the look of your web site simply by modifying the CSS. Think ‘Skins’.

Description : Why is the word pseudo often used when referring to CSS or maybe all code?

Last Answer : Could you give us an example? Generally when people say pseudo code, they’re referring to code that isn’t actual code, but is explaining how code statements work. Such as: if (the cat is wet) { meow anxiously; }

Description : DIV class & id name parser for automatic CSS file generation?

Last Answer : I saw something on reddit today about something called HSS, I can’t remember the link but google it, it sounded like it does what you want.

Description : How to teach XHTML, CSS, and PHP?

Last Answer : Not having a clue about how to do these things, I think your answer lies in your own experience-you had to go through the challenge of working it out yourself-sometimes it was hard. I don't know ... hard work-no substitute for that. And that's also the fun of it. And the feeling of accomplishment.

Description : Can anyone give me some CSS positioning help?

Last Answer : Care to share what you think is wrong? Other than the red mess on the right it seems to render alright in Firefox.

Description : Curved borders in HTML/CSS?

Last Answer : images.

Description : What is the difference/relationship between HTML and CSS?

Last Answer : HTML is the structure of the document. So the HTML would look like. Hello World And the CSS could be. CSS defines the look. H1 { font-family: Verdana, Arial, Helvetica, sans-serif; border-size: thin ... 400px; } Take a peek here.. http://www.pillowpersuasion.com/dance/blank.html Look at the source.

Description : How to give 3 floated div's the same height in CSS?

Last Answer : Never mind. I’ve gone back to tables. (but only for that part) Div’s can be very, very, very painful sometimes…

Description : How do I remove spaces around images in a CSS drop down menu in IE?

Last Answer : answer:sorry to dp.. but here's the code i'm working with. http://www.mosaicfound.org/NEW/common/top.php

Description : CSS dropdown menu crisis with IE 7...

Last Answer : Your first problem is that you've defined the .clearfix CSS class in the HEAD of your document but you have not applied it to any of the elements in the BODY. The page where you ... containing a float needing to be cleared, plus any Guillotine-Bug-fixing block elements within the container."

Description : Quality css troubleshooting in or around DC? or virtualy?

Last Answer : answer:Based on your previous question I assume that the real problem are your dropdown menus? Have you tried just modifying the code in http://www.alistapart.com/articles/dropdowns (which should work in IE ... it's saved us so much headache on Ask-public and makes our css much more maintainable.

Description : what's the easiest way to learn css?

Last Answer : answer:Check out the “Siblings” questions on the right for some good ideas… well, at least this one: http://ask-public.com/disc/3608/how-should-i-start-to-learn-html-css-and-java/ You might check out Adobe Dreamweaver CS3 as well.

Description : CSS Floats driving me insane?

Last Answer : answer:So you missing a px after 125. Anyways i didn't bother trying to figure out whats wrong with your code (just because i get paid to do such things)/ But anyways so i just built a quick ... use for what you are trying to do - here. FYI the term webmaster is depreciated in today's web world

Description : CSS issue.

Last Answer : Hmm… not quite sure what you mean… whatever it is, I wonder if you’re taking the complicated option? It certainly seems like you are. Perhaps try simplifying your layout.

Description : Is there a css/html coding app for iPhone/iPod touch?

Last Answer : How about mobile textedit ? That should get you where you’re trying to get. It’s not perfect, but it’s the only thing I found. You’ll also need mobile finder for it to work.

Description : Is it possible to have Blog posts with images automatically post to home page of another site?

Last Answer : First of all congrats. You are doing a wonderful thing. What you want is doable but difficult to do. I'm not sure how much control you have over a site on blogger but if you hosted your own site with ... RSS feed this would be possible using Magpie RSS and some php-fu. A pain in the ass, but doable.

Description : How do I make a background like this for my blog?

Last Answer : I think the theme on this website might be patented. Try googling CSS codes for a fish theme. Or, are you asking how to make custom CSS coding for a fish theme?

Description : Can I make it so that the background image of my website doesn't appear until fully loaded?

Last Answer : You could easily delay it using Javascript.

Description : How to manually put a background image on a tumblr layout that happens to have that feature disabled?

Last Answer : Step one – EDIT HTML button. Step two – Note the highlighted part. Chang it to the url for the image you want.

Description : Tumblr: How to use my own image as a background?

Last Answer : answer:I will do this with images. This gives you this But that sucks. The content is hard to read with the image like that. Part 2. This looks even better. I still want to see a little of the background image to lets use opacity. Now we have this. Here is the finished product.

Description : How do I put my own image as a background on Tumblr?

Last Answer : I can help you with this. But you need to add a NSFW to your link. For now I will flag it until you add it.

Description : How do I add a background image for my Tumblr?

Last Answer : Try something like this. I cleaned up the formatting to stop my eyes from bleeding. body { background-image:url(http://i279.photobucket.com/albums/kk133/jean10_2008/album1/collagecolorful.jpg); padding: 10px; ... :5px; margin-bottom:5px; text-align:justify; min-height:px; } img{ border:none; }

Description : How to add a tumblr background image to this theme?

Last Answer : body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #FFFFFF; background-image: url(‘http://www.whatever.com/whatever.jpg’); background-repeat: no-repeat; background-attachment: fixed; } Replace the URL with the link to the image.

Description : Why can't i get my custom background OFF my tumblr?

Last Answer : I’m on your website right now and I don’t see any green hearts…

Description : Tumblr: How do you put an image as a background?

Last Answer : Could you link to the layout, or your blog? It may help getting started and give a more complete answer. Typically you can assign a background image to either the html or body element using css an example ... can help. There's some similar questions/answers to the right ====> that may help as well

Description : Tumblr: How to use my own image as a background?

Last Answer : Customize theme is to change the basics of a template they provide. This is usually things like changing a font color, or a border color basic stuff. If you want to change the background image you will ... com . Let me take a look at that template and can give you more specific info in a minute.

Description : Background images in HTML?

Last Answer : Here is a link that explains things rather nicely. I really like this sight in general. http://reference.sitepoint.com/css

Description : How do you put a picture in the background of your tumblr instead of a color?

Last Answer : body { background-image: url(‘http://davinci.ask-public.com/images/v2/logos/ask-public.png’); background-repeat: no-repeat; }

Description : Any way to directly download an audio source file when the web page is using a javascript audio player (that doesn't use filenames like "x.mp3")?

Last Answer : Could try file2hd.com to see if you can find the resource.

Description : Has anyone ever created a timer using JavaScript?

Last Answer : answer:I think the easiest thing to do is just use an existing timer that uses 1,2,3,4 syntax and convert it to hh:mm:ss yourself. It should be a fairly straightforward conversion. You're basically just ... (I imagine there are also some existing conversions you can find, but I'd say just dive in).

Description : How do I zoom in/out on a vector graphic image using HTML?

Last Answer : You could export it as a flash file and make the size 100% or you could save it as bitmap in high resolution, and then let the browser resize it to 100%

Description : What's a better way to ignore IE6 than using ?

Last Answer : I don’t think there are any browser hacks that validate. Did you try Dean Edwards’ IE7 patch scripts?

Description : I need to know how to make automatic pages with html?

Last Answer : Wonder if this little java app would do the trick. Looks like it’s a Firefox plugin as well as srandalone.

Description : How can I make pictures from thumbnails become bigger when clicked with some coding?

Last Answer : Easiest way is to use one of the hundred of lightbox scripts out there. Here is a simple one to use.

Description : How to make a header image in tumblr with the not bright theme?

Last Answer : I’m not seeing a title.

Description : How do I make my jQuery slideshow resize to window?

Last Answer : http://www.buildinternet.com/project/supersized/

Description : How do I make a picture in an HTML script a clickable link?

Last Answer : document.write(””)

Description : How do I make sure form input in websites is valid UTF-8?

Last Answer : I’m not particularly sure what UTF-8 is. but I assume you’re using PHP. SO, I’d use this.

Description : How do I make an External Hyperlink in Dreamweaver site?

Last Answer : Have you included ‘http://’ at the start of your link?

Description : Make a website that only opens on a specified computer?

Last Answer : answer:I have heard that that can be done, as long as the IP number doesn’t change. Many US government computers are like that, particularly those used at the CIA September 5, 2008, 1:46 AM EDT

Description : How to Make Links in HTML ?

Last Answer : How to Make Links in HTML Links are part of the essential building blocks of the Internet. People click links to navigate sites, to visit other people's sites, and to explore the many sources of information ... Web designer to make links; all you need is the know-how to make simple lines of code.

Description : Where can I find information about GMail html specifications?

Last Answer : Need Answer