![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anyone show me the code for a external CSS that would cover the below referenced page and then allow me to link it to all the other web pages? Wish to include in the CSS the following: Top Table with the Image (logo) and the links. Left-hand side Table with the links. Then be able to add text and images in the portion below the top table and the left-hand table. http://www.unclewaynes.net/miscTEST.htm Any direction or help would be appreciated as I'm very new to CSS. |


#3
| |||
| |||
|
|
vatore wrote: you should avoid decorative images in the document, it's better to place them as bacground images for particular elements. Only if you intend for the images to be background, that is, potentially behind other content. Otherwise, it belongs in the html. |
#4
| |||
| |||
|
|
If an image is only decoration I prefere to move it to css as background image |
|
( :before / :after pseudoclasses would be great, but there is browser support problem for this feature). |
#5
| |||
| |||
|
|
If an image is only decoration I prefere to move it to css as background image ( :before / :after pseudoclasses would be great, but there is browser support problem for this feature). I prefere h1><span>header text</span><h1> + span {display: none;} h1 { background: ... } |
|
Instead of img alt="header text" src="header.gif" / |
#6
| |||
| |||
|
|
"vatore" <vatore (AT) wp (DOT) pl> wrote: If an image is only decoration I prefere to move it to css as background image Thus breaking a useful UA feature: the ability to disable display of images and have the screen space freed up. ( :before / :after pseudoclasses would be great, but there is browser support problem for this feature). Old browsers like IE and Opera 6 yes, these can be fed a background image as a fall back if you're inclined to push things: http://www.spartanicus.utvinternet.i...with_css.ht m -- Spartanicus |
#7
| |||
| |||
|
|
I have spent hours searching and then reading CSS tutorials, I read most of Spartanicus "Web Tips". I have found very little about "tables" or what I call a "header" (our company logo with links in a given table at the top of each webpage). |
#8
| |||||
| |||||
|
|
The images that belong to html are images that are complementar to the document's content, that provide some data. The 'alt' attribute is required in xhtml not to leave it empty just for validation. You need the alt / longdesc because if image can not be displayed the document will lack some information, so you give alternative text and optionally long description to give as much as possible information for those who don't see the image. |
|
If an image is only decoration I prefere to move it to css as background image |
|
Imagine loading both the <img src... examples on gprs mobile device |
|
Imagine re-design, when you have to change tons of such imgs |
|
But, on the other hand div style="background: url(chart.gif)... when 'chart' provides some data to the site it is very stupid, it should be img src="chart.gif" alt="what does the chart show" /> to keep document complete if for any reason stylesheet is not loaded. |
#9
| |||
| |||
|
|
"Lewis" <shirtmen (AT) example (DOT) com> wrote: Please don't top post in this group, please do snip quotes. I have spent hours searching and then reading CSS tutorials, I read most of Spartanicus "Web Tips". I have found very little about "tables" or what I call a "header" (our company logo with links in a given table at the top of each webpage). My site clearly mentions that it only deals with more exotic issues, it's definitely not a site to learn coding from. Neal likes http://www.w3schools.com , try that. |
#10
| |||
| |||
|
|
On Tue, 02 Nov 2004 17:29:32 +0000, Spartanicus <me (AT) privacy (DOT) net> wrote: Neal likes http://www.w3schools.com , try that. Actually, I'd prefer http://www.htmldog.com/ if it weren't for the devotion to unrealistic XHTML. The CSS advice is well written and paced, though, so long as the learner knows that the XHTML isn't needed, it applies as well to HTML 4.01 and to better overall effect. Sadly, while these cover the basics of CSS well, I have yet to see a really well-designed tutorial on CSS layout. Too many tack it on as an afterthought to a basic tutorial, and it really IMO is a whole area of its own, sharing only the syntax and good coding practice necessary of text-style CSS. |
![]() |
| Thread Tools | |
| Display Modes | |
| |