View Full Version : css question
meltykiss
08-04-2003, 07:57 PM
Hi everyone....I realize this question is probably petty and pretty easy to figure out, but please bear with me :) I just added some new menus to my website....this is ultimately what they look like:
www.mayumiando.com/main3.html
What I'd like to do is get the text next to the menus, but I can't figure out how to code it. I've tried margin CSS codes and different align codes and nothing works correctly to get the text aligned left next to the menus. If anyone could offer advice or help, I'd really appreciate it. Thanks!
theabyss
08-04-2003, 08:54 PM
From your website
<body>
</td></tr>
<tr><td align=center border=2>
Ended table tags without a table being started. Also, start tags for table rows and cells w/o table start. Have a look at this:
http://htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.mayumiando.com%2Fmain3.html
ronaldb66
08-05-2003, 09:49 AM
Meltykiss,
there are a number of issues with your source, as TheAbyss indicated, but first: what do you mean? Which "text" do you want to "align next to the menus"? Please supply some more detail, an example of what you want to accomplish, a sketch, whatever.
AaronW
08-05-2003, 04:22 PM
Methinks she wants the text inside the menu items to be aligned to the left, rather than centered as they are now.
meltykiss
08-05-2003, 05:18 PM
I apologize for the unclearness of my post, which was very ambigious as I look at it now....I should have given the full sample rather than a partial sample.
Here is a full sample of my main page, with the menus I just added:
www.mayumiando.com/main3.html
What I would like to do, ultimately, is put the text that is at the bottom of the page next to the menus, essentially so it would be centered in between the picture on the right and the menus on the left. Like I said, I have tried numerous align, block, and css codes and none of them are working correctly...or else I'm placing them wrong.
And thank you to theabyss for providing the html validator - I am working on changing the issues in the coding.
theabyss
08-05-2003, 05:21 PM
You're welcome :cool: :thumbsup:
Roy Sinclair
08-05-2003, 05:28 PM
You've got multiple <body> tags on the page, <style></style> should be declared inside <head></head>. After those problems I kind of quit looking for more.
You're going to find it hard to make anything work correctly until you fix those fundamental structural problems with the page. I'd start with fixing those, I don't think it'll be too hard to do what you want but first things first.
Check the error list out: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mayumiando.com%2Fmain3.html&charset=iso-8859-1+%28Western+Europe%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1&verbose=1
There are 61 errors in the code, and most of them are very easy to fix.
Aska gain for any that you don't understand.
theabyss
08-06-2003, 05:56 AM
Change this:
name=table id=table
to this:
class="table"
Each id attribute has to be unique. You have more than one id of "table". Also, remove the #table in the stylesheet and replace it with .table
This will remove a lot of those errors :thumbsup:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.