Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

Help!!

This is a discussion on "Help!!" within the Web Page Design section. This forum, and the thread "Help!! are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Feb 14th, 2004, 19:39
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Help!!

http://www.galaxywebdesign.co.uk/hil...ingdresses.htm

Ok... am working on a site for a new lady. Now, am using CSS buttons but.

I am probably being coming blonde hear but the buttons halfway down the page... do I have to put the whole <div id> </div> in every time... because when I try an delete the extra div tags it all goes pear shaped.

Thanks in advance

Sarah x
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old Feb 14th, 2004, 19:54
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
<tr align="center" valign="middle">
<td height="38"><div id="maggie"><div align="center"> Courtney</div></div></td>
<td height="38"><div id="maggie"><div align="center"> Courtney</div></div></td>
<td height="38"><div id="maggie"><div align="center"> Courtney</div></div></td>
<td height="38"><div id="maggie"><div align="center"> Courtney</div></div></td>
<td height="38"><div id="maggie"><div align="center"> Courtney</div></div></td>
</tr>

Thats a little bit better... but am still repeating myself and have two </div></div> tags for some reason???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Feb 14th, 2004, 20:57
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
you can't have more than one occurence of an id on one page so you'll need to change those to class="maggie" instead of id="maggie"

why not do this:
<tr class="maggie" valign="middle">
<td>Courtney</td>
<td>Courtney</td>
<td>Courtney</td>
<td>Courtney</td>
<td>Courtney</td>
</tr>

and add these to your class named 'maggie' in your styles:

height:38px;
text-align:center;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Feb 14th, 2004, 21:06
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Demon...will give that a go
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Feb 14th, 2004, 21:47
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Its not working... but I am not sure what I am doing wrong... I know its something I am putting in wrong :sad:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Feb 14th, 2004, 22:11
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
did you change #maggie to .maggie in your CSS?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Feb 14th, 2004, 22:14
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
No...Its working now though... so what are the different things you can put in fron of the styles...

#
. is there anymore?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Feb 14th, 2004, 22:18
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
thank you btw... I didn't realise that you had to change the # I was looking in vain for an MSN addy for you<g>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Feb 14th, 2004, 22:22
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
only those two that you need to worry about at this early stage. If you're defining a style for a given HTML tag, then you don't need anything in front of it like:
body { background:#ccc } - sets the background of the page to grey.
p { font-size: 11pt } - sets all the text inbetween paragraph tags to be 11pt in size.

ID's (#) are used for items that will <u>only appear once</u> on each page like:
#pagetitle { color : red }

classes (.) are used to affect the style of multiple items on a page like:
.highlight { font-weight:bold; color:yellow }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Feb 15th, 2004, 00:20
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
thanks Demon, you have been a great help tonight
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Feb 16th, 2004, 09:46
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
dayum, courtney looks well fit!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:43.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8