Discussion: inline styles
Afficher un message
Vieux 21/03/2008, 12h14   #3
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: inline styles

Scripsit Kevin R:

> Wondering why my inline style is failing


Inline styles are _bad_. Don't do inline styles, mm'kay? Just kidding;
this is now among the least of your problems.

> <div style"width: 770px; text-align:left;">


You have syntax error in your HTML markup. Fix it first. Use a validator
if needed.

Then consider CSS issues, like the question "Do I really want to
alienate all users who wish to view my page comfortably in a 600 pixels
wide window?" (600 pixels is pretty much but sometimes convenient when
you wish to devote e.g. an entire half of the screen to a browser
window)

> insight appreciated


Insight not needed here. No reason to waste creative potential to
dealing with simple technicalities. Save your cortex for better use, and
use a validator (and manuals or references).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
 
Page generated in 0,04913 seconds with 9 queries