using css

User 79703 Photo


Registered User
3 posts

I have the typical <a href> for css/text and name is default.css in root of the website, but I can't get the text back onto the one column on the stylesheet and the links to the menu'd button items in the style won't keep the links without showing the word and button together : -(
User 184085 Photo


Ambassador
1,707 posts

Could you post a link so we might have a look ta the code?

thanks.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 184085 Photo


Ambassador
1,707 posts

OK thanks looking into it right now, be back soon.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 184085 Photo


Ambassador
1,707 posts

do you have thickbox.js in your /js folder on the server?
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 471275 Photo


Ambassador
1,130 posts

Sharon

You have a few mistakes and they are not in your css page, they are in your html page.

This is on your page where the mistakes are:

<li class="first"><a href="http://tedcobbettphotography.ca/index.html">Home</a></li>
This should read <li> class etc

Next below after the </a> you should have </li>
<li>
<a href="http://tedcobbettphotography.ca/gallery.html">Gallery</a>
<ul>

Again here the <li should read <li>
<li class="first"><a href="http://tedcobbettphotography.ca/anniv.html">Anniversaries</a></li>


<li><a href="http://tedcobbettphotography.ca/prof.html">Profiles</a></li>
<li><a href="http://tedcobbettphotography.ca/wed.html">Weddings</a></li>

The .</li> after the </ul> is double and should be removed
<li><a href="http://tedcobbettphotography.ca/wildlife.html">WildLife</a></li>
</ul>
</li>

At the beginning it should always read <li> and at the end </li>

Hope this helps :)

User 184085 Photo


Ambassador
1,707 posts

OK I cleaned up some code and re-arranged a couple of things and hope I am moving in the right direction.

is this what you envisioned?

http://i130.photobucket.com/albums/p248/pug2775/photosite.jpg
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 184085 Photo


Ambassador
1,707 posts

here is the code so far
Attachments:
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 3004957 Photo


Registered User
848 posts

a99wd unless I misunderstand your reply, I don't think there is anything wrong with calling a class from inside an opening list tag. As long as the list is closed correctly using a class is valid html.

In the page code supplied there are many open div and list tags. The title is full of font tags and with a 'strict' doctype none of that is going to work. There is also a bunch of rubbish code after the closing /html tag which complicates things as well.
David has done a great job of unraveling it all and the result is nice clean, commented code that should help Sharron get the page working (though that rubbish code is still after the closing html tag, which I think should not be there).

Still, it certainly looks and works better than before.

Dave.

User 184085 Photo


Ambassador
1,707 posts

ya there is still some work to do, but before I went all the way, I wanted to know it was in the right direction :)
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.