<b><u>Edit Users</u></b><br />Click a username to edit the account.<br />
in this?
<table id="users">
<tr>
<td class="right">
-- Left menu here
</td>
<td>
<b><u>Edit Users</u></b><br />Click a username to edit the account.<br />
<table id="users">
CSS is just a headache and I can’t find anything googling, so I thought I would try here and hope someone can enlighten me.
I tried putting <div id=“label”> and had a label tag inside the css. Sorry if this is simple to most or even if it can’t be done like this. Just thought I would ask.
I would really like to keep the highlighting also, but not sure of how to bold and underline single words in CSS. Thanks
Skipping the fact that tables aren’t quite the right choice (except maybe for the users list, but it depends on what data you have there), skipping the fact that you use tables id=“users” twice, when id values should be unique, you don’t.
You have mixed content in a td: CDATA (inline content) and a table (block content). td must have either inline either block content.
It seems to me this is a section, so a heading would fit just well. Let’s assume it’s h3, but you need to make adjustments accordingly.
HTML (wrong HTML, but hey, if it fits you…)
<td>
<h3>Edit Users</h3>
<p>Click a username to edit the account.</p>
<table id=[b]"usersList"[/b]>
If you are finding hard to approach tableless layout, a simple solution for you is to use a word processor: MS Word, OpenOffice Writer, AbiWord, build your table layout, style it (center, bold, underline) and then save it as html.
I hope this is what you meant by not using tables.
Now, I think I know how to center the #nav and Content text in their respective areas, but how would I center it AND have the left letters align, so it appears like so?
What you’re asking is a bit controversial, because centering… but aligning will not “feel” like centering, because the left edge for aligning would be dictated by the widest element, “Administration” in our case.
Anyway, here it is. You’ll notice I don’t use <b>, <u>, <br>, but instead html elements that mean something.
One more note. Your wrapper has 90% width. Not very good if the browser window is resized to say, 150px. Instead, the wrapper should have a min-width and a max-width. The min-width should be 180px(the #nav width) + ?px where ?px is the witdth that will permit your Content to fit on the smallest device screen you’re targeting and still look good.
I hate that it is centered in the box but can’t get the text left justified on the longest word ( Administration ), but I will just stop messing with it. The above code you sent just centers it all.
To others it might be controversial, as you said, but if I had a faded image in the background of the menu, I would still want it centered with the left align on the text.