Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Could someone help out with a piece of CSS please?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

Could someone help out with a piece of CSS please?
Reply
 
Thread Tools
Old 24-07-2007, 17:59   #1
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Question Could someone help out with a piece of CSS please?

Hey everyone, I am making up a website for one of my mates.

I got the some bits of the site going, mainly trying to do it by CSS.

ok I got a banner for a heading, and some glass looking buttons going down the left side for links in the site.

I was wanting to put a main part to the right of these links.

I have given an image, and its the white text that I am trying to fix, I got the text moved to the side but not up.

I not used a table, but will play with one soon, but was hoping to get it done without tables.

any help?
here is one HTML and CSS code;
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
 <LINK REL="Stylesheet" type="text/css" HREF="rick2.css">
  <TITLE> Site Map </TITLE>
  <META NAME="Generator" CONTENT="EditPlus">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
 </HEAD>

 <BODY>
<span class="banner">Ricky Waddell</span><span class="bodyheading">Site Map</span>
    <a class="nav" href="home.html">Home</a>
    <a class="nav" href="career.html">Playing Career</a>
    <a class="nav" href="videos.html">Videos</a>
    <a class="nav" href="gallery.html">Gallery</a>
    <a class="nav" href="about.html">About Ricky</a>
    <a class="nav" href="links.html">Links</a>
    <a class="nav" href="site.html">Site Map</a>

    <div class="main">testing</div>
 </BODY>
</HTML>
Code:
body    
{
    background-color:#000000;
}
.banner 
{
    display:block; 
    width:800px; 
    height:45px; 
    background-image:url(images/banner.JPG); 
    margin-top:0px; 
    text-align:center; 
    font-weight:bold; 
    text-decoration:none; 
    font-family:palatino linotype, times new roman, verdana, arial, sans-serif; 
    font-size:30px; 
    color:#fdfe98; 
    line-height:40px; 
    overflow:hidden;
}
a.nav, a.nav:link, a.nav:visited 
{
    display:block; 
    width:150px;
    height:25px; 
    background-image:url(images/button0.JPG); 
    border:1px solid #000; 
    margin-top:2px; 
    text-align:center; 
    text-decoration:none; 
    font-family:verdana, arial, sans-serif; 
    font-size:12px; 
    color:#fdfe98; 
    line-height:25px; 
    overflow:hidden;
}
a.nav:hover 
{
    color:#fdfe98; 
    background-image:url(images/button1.JPG); 
    font-weight:bold;
}
a.nav:active 
{
    color:#fdfe98; 
    background:#000000;
}

.bodyheading 
{
    position:absolute; 
    margin-left:350px; 
    font-weight:bold; 
    font-size:16pt; 
    color:#fdfe98;
}
.main
{
    display:inline;
    margin-left:180px;
    color:#ffffff;
    font-family:arial, palatino linotype, times new roman, verdana;
    font-size:11pt;
}

ik
ikthius is offline   Reply With Quote
Advertisement
Old 25-07-2007, 23:17   #2
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Re: Could someone help out with a piece of CSS please?

ok, I just added a table and sorted it.

but could someone please tell me where I am going wrong with this piece.

its the small buttons have a shadow of a new button below it.

ik
ikthius is offline   Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 18:27.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum