473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

inline styles

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;">
<h1Page 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

Mar 21 '08 #1
2 1950
rf

"Kevin R" <kr******@sbcglobal.netwrote in message
news:ZN******************************@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;">
Mar 21 '08 #2
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/

Mar 21 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: geotso | last post by:
Hi I'm trying to hide from printing a specific element of a page but I don't know how (and if) I could. Here is an example of what I'm trying to do: <h1>Hidden in print mode</h1> <p>Also...
7
by: David Filmer | last post by:
Greetings. I want to localize a style definition to a portion of an HTML document, but use an external stylesheet. It seems that I can only do <style><!-- @import...
5
by: Viken Karaguesian | last post by:
Hello all, It seems to me that IE ignores other styles altogether when an inline style is used. As an example, check my site (in my signature file). In the "Latest News and Headlines" you can...
4
by: FayeC | last post by:
I am building a table with style samples from 3 CSS files. We currently have 3 CSSs (NS4, IE and SUN) as our audience is diverse (banking industry - old systems and old browsers for about 50% of...
1
by: appleboy | last post by:
Hello to all, and sorry about my poor english :) I am trying to assign inline styles thru javascript or directly into the element parameters. E.j: <span style="font-size:5em;"> I would like...
5
by: Stan McCann | last post by:
link: https://ssl.perfora.net/famousphone.com/ css: http://famousphone.com/styles.css The menu list on the right top (Shop by Category) is where I'm having difficulties. I'm trying to visually...
3
by: rn5a | last post by:
I came across the following line in an ASP.NET article: Each AlternatingItemStyle in a DataGrid renders the style inline. What does rendering the style "inline" mean?
5
by: Bubba | last post by:
I need to use an inline css tag for a few links that will not behave like the a:link and a:hover attributes in my stylesheet. I want to add a special link color with underline and a mouseover...
0
by: Mike | last post by:
Hi, I have a strange problem: I wrote a reverse proxy that redirects pages to a local or remote server. Everything seems to work fine, but I have a strange problem with inline styles. In my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.