This is a discussion on "CSS & <html> styling problem" within the Web Page Design section. This forum, and the thread "CSS & <html> styling problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS & <html> styling problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS & <html> styling problem
Before anything i want to say Hi to everyone on webforumz
I have one problem in styling <html> tag. I use embedded CSS style and code goes like this: <style type="text/css"> <!-- html { background-color: #0099CC; background-image:url(poz.jpg) } --> </style> But nothing happen. When i use <body> tag its ok. Can i style with CSS <html> like this? sry on my bad eng |
|
|
|
|||
|
Re: CSS & <html> styling problem
No its offline
Look code: body { background-color:#33CCCC; } Put by bg of web page in that color. But code: html { background-color: #0099CC; background-image:url(poz.jpg) } Aint work Can i use html as a selector? |
|
||||
|
Re: CSS & <html> styling problem
Yes you can ...
Put it online on a free host like freewebs ... it would be much easier to help you. |
|
|||
|
Re: CSS & <html> styling problem
I try that as example not in real web site.
Source code goes like this:
Last edited by karinne; Nov 9th, 2007 at 14:03. Reason: Please use vBcode when inserting code in your post |
|
||||
|
Re: CSS & <html> styling problem
Hmmm ... tested this in FF, IE6 and Opera and it works.
|
|
|||
|
Re: CSS & <html> styling problem
It was a FF issue , i dont know why. I just reinstall ff and now its works.
But i have one more question:
And i want to put body bg transparent image over html background ? In IE work fine but FF and Opera not. Last edited by karinne; Nov 9th, 2007 at 14:02. Reason: Please use vBcode when inserting code in your post |
|
|||
|
Re: CSS & <html> styling problem
I will let someone else explain the joys of transparent png's and IE6.
|
|
||||
|
Re: CSS & <html> styling problem
If you want your transparent PNG's to work in IE 6 you will need to use a hack. I quite like this website: http://homepage.ntlworld.com/bobosola/pngtestfixed.htm.
Cheers, |
|
||||
|
Re: CSS & <html> styling problem
Quote:
Again ... Please put this online so we can see what's going on since we are dealing with images here. |
|
|||
|
Re: CSS & <html> styling problem
yeah, he is saying that the background transparency worked in IE, so there must be something wrong somewhere. It's weired tho, usually IE is making all the stupid problem...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with Myspace HTML | DEADHAWK076 | Web Page Design | 11 | Dec 4th, 2007 23:26 |
| Styling problem | dhossai | Web Page Design | 28 | Nov 12th, 2007 18:01 |
| styling my form (problem) - link | danny322 | Web Page Design | 9 | Nov 8th, 2007 01:22 |
| HTML / div Problem | ssnerdy | Web Page Design | 8 | Oct 10th, 2007 14:02 |
| HTML Email Problem!?!?!? | uqwebdesign | Web Page Design | 12 | Feb 22nd, 2007 07:12 |