|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Wondering why my inline style is failing
here is the content.html page that I am calling. <!-- content4.html --> <div style"width: 770px; text-align:left;"> <h1> Page 4 </h1> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor</p> </div> <!--end content4.html --> The parent tag is <div align="center"> and seems to dominate. It should be easy enough; can't figure why it is so much trouble. insight appreciated Thank You Kevin |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Kevin R" <kraleigh@sbcglobal.net> wrote in message news:ZNudnccL0fc0YH_anZ2dnUVZ_hynnZ2d@giganews.com ... > Wondering why my inline style is failing > > here is the content.html page that I am calling. > <!-- content4.html --> > > <div style"width: 770px; text-align:left;" > <div style="width: 770px; text-align:left;"> |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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/ |
|
![]() |
| Outils de la discussion | |
|
|