9 replies [Last post]
tippaflorda
tippaflorda's picture
User offline. Last seen 2 years 10 weeks ago. Offline
newbie
Timezone: GMT-8
Joined: 2009-08-28
Posts: 8
Points: 9

Any idea how to link my logo back to index.html without it taking on the styling for my lists?

Verschwindende
Verschwindende's picture
User offline. Last seen 15 weeks 5 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

I could only guess.

I could only guess.

yet again.

Deuce
Deuce's picture
User offline. Last seen 4 weeks 5 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4421
Points: 1840

Oh! Can I guess too?!

Oh! Can I guess too?!

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Verschwindende
Verschwindende's picture
User offline. Last seen 15 weeks 5 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2256

Deuce wrote: Oh! Can I guess

Deuce wrote:

Oh! Can I guess too?!

NO! Crazy

yet again.

Hugo
Hugo's picture
User offline. Last seen 4 hours 16 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15197
Points: 2300

ooh ooh can I guest too, it's

ooh ooh can I guest too, it's my one and only guest appearance and not to be repeated.

Tippaflorda as you no doubt can sense from our flippant responses, there is a problem Smile

Please post something a little more helpful and descriptive with perhaps a little code or even a link and we can help, but guessing or guesting seldom happens as few coders like speculation.

"Trying Harder" err... yes I'm sure but you need to keep trying Smile

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

CupidsToejam
CupidsToejam's picture
User offline. Last seen 17 weeks 15 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

is your logo a list item? I

is your logo a list item? I cant wait to see this!


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

tippaflorda
tippaflorda's picture
User offline. Last seen 2 years 10 weeks ago. Offline
newbie
Timezone: GMT-8
Joined: 2009-08-28
Posts: 8
Points: 9

Logo is not a list item. It's

Logo is not a list item. It's just an pointing back to index.
CupidsToejam: I went back to the drawing board on the whole styling, like you suggested last week. And since you can't wait to see this, I also can't wait to hear what you think.


body{
	background-color: #000000;
	margin:0;
	padding:0;
}
 
 
 
 
 
h1{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 29px;
	font-style: normal;
	color: #FF6400;
}
 
 
h2{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-style: normal;
	color: #FFffff;
	text-align: center;
}
 
 
#leftpic {
	border: 4px solid #FFFF00;
	padding: 0;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-top: 5px;
	width: 220px;
}
#sidebar {
	float: left;
	width: 220px;
}
 
 
#vanpic {
	margin-left: 260px;
}
#pbox {
	width: 346px;
	float: left;
	margin-left: 200px;
}
 
p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #FFFFFF;
	line-height: 22px;
	font-style: normal;
	font-weight: lighter;
	width: 670px;
	padding-right: 4px;
	padding-left: 4px;
	margin-left: 256px;
}
 
 
.white {
	color:#ffffff;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:20px;
	text-align: center;
}
.orangebig
{
	color:#ff6400;
	font-size:24px;
	text-align: center;
	padding-top: 0px;
}
 
.orange {
color:#ff6400;
 
}
#redbox {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 24px;
	color:#FFFFFF;
	background-color: #330000;
}
 
 
.footer {
	color:#ff6400;
	width: 960px;
	text-align: center;
}
 
 
div{
	margin:0;
	padding:0;
	}
 
 
 
.container_1 {
	width: 211px;
	height: 83px;
	margin-top:5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
}
 
.container_4 {
	width:740px;
	position:relative;
	top: 10px;
}
 
.container_5 {
	margin-left: 256px;
	margin-top:112px;
	width: 680px;
}
 
.container_6 {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
	padding-left:601px;
 
}
 
 
 
#logo {
	float: left;
	width: 211px;
	margin-right:5px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;
}
 
ul {
	margin-top: 10px;
	border: 1px solid #000;
	width: 680px;
	float: left;
	}
 
 
li {
	width: 158px;
	height: 15px;
	list-style: none;
	color:#FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 15px;
	margin-left: 5px;
	margin-right: 5px;
	float: left;
	}
 
 
a {
	width: 158px;
	height: 20px;
	background-color:#330000;
	margin-top:20px;
	padding-top: 6px;
	list-style: none;
	color:#FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	border: thin solid #ffff00;
	margin-bottom: 10px;
	margin-left: 2px;
	float: left;
	}
 
	a:link {
	text-decoration: none;
	color: #ffffff;
 
}
a:visited {
	text-decoration: none;
	color: #ffffff;
 
}
 
a:hover {
	background-color:#663333;
}
a:active {
background-color:#663333;
}
 
 
 
#container_2 {
	margin-left: 30px;
	margin-right: auto;
	float: left;
	margin-bottom: 5px;
}
#container_3
{
	margin:0 auto;
	width:960px;
	height:446px;
	padding-top: 60px;
}
 
.bottompics
{
	width:158px;
	border: thin solid #FFFF00;
	margin-top: 25px;
	margin-right: 2px;
	margin-left: 2px;
}
#container {
	width:960px;
	margin-right: auto;
	margin-left: auto;
 
}
.redbox {
	background-color: 330000;
	color: ffffff;
	clear: left;
	width: 300px;
	text-align: center;
}
<a href="http://www.wilsonvision.com/servicios.html"></a>

CupidsToejam
CupidsToejam's picture
User offline. Last seen 17 weeks 15 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

ok, since you have global a

ok, since you have global a styles, you'll need to use specificity to target the a you want to style...

#logo a {styles;}


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

tippaflorda
tippaflorda's picture
User offline. Last seen 2 years 10 weeks ago. Offline
newbie
Timezone: GMT-8
Joined: 2009-08-28
Posts: 8
Points: 9

Then code it:<logo a

Then code it:<logo a href="index.html">img src="images/promo-visa-logo.jpg" alt="Promo-visa-logo"/></a>

That doesn't add up. I'll target it specifically, but then how to code it?

CupidsToejam
CupidsToejam's picture
User offline. Last seen 17 weeks 15 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

for the site branding, i

for the site branding, i would do it like this...

<h1><a href="index.html" title="Home Page"><img src="logo.jpg" alt="This is my site" /></a></h1>

There are many ways to do this, this is one of the good ones. You may also want to research image replacement techniques.


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com