loveyou_alwyz
08-15-2006, 04:35 AM
your supposed to put it after the
</head> tag right but when i do my page is blank
</head> tag right but when i do my page is blank
|
View Full Version : backround image help loveyou_alwyz 08-15-2006, 04:35 AM your supposed to put it after the </head> tag right but when i do my page is blank General MJ 08-15-2006, 05:00 AM you put it in the body.. xlilmissjuliex 08-16-2006, 12:02 PM There are serveral ways to display a background image. 1. This one is simple and easy: After the </head> tag, there is a <body> tag. Replace the <body> tag with: <body style="background: #FFFFFF url(BACKGROUND.gif)"> Edit the color #FFFFFF to your liking as well as the URL to your background image. 2. This one deals with your CSS Style Sheet: <style type="text/css"> body { background: #FFFFFF url(BACKGROUND.gif)} </style> Once again, edit it to your liking. You can also set the background to a certain part of the site -- using DIV 3. DIV-wise: <div style="background: #FFFFFF url(BACKGROUND.gif)"> TEXT HERE TEXT HERE TEXT HERE TEXT HERE TEXT HERE </div> You can also do this with tables, and others too. General MJ 08-16-2006, 02:49 PM use the css one if its the same backround for everypage, the html one if its just one page..or div EDIT: just realized, dont use that example of CSS, if its gonna be mroe than one, you need to link em, if your unsure how to do that, it is probably in one of lissa's guides.. pb&j 08-19-2006, 05:41 AM your supposed to put it after the </head> tag right but when i do my page is blank can you provide a link to your non-working page? or your entire coding you are using? sounds like you are adding the background image by itself instead of part of a tag. |