Menu
Hi there,
I have designed this site, [URL=http://www.mygenesisonline.com/chase]Chase Pullan Foundation
In trying to use more xhtml and css, I’m adjusting code here and there and running into trouble. Just from closing all img, p and br tags with />, it’s adding top and bottom margins to many areas. Yes, this is still in a table format…one step at a time.
I can fix the problem by removing the xhtml stuff but I really want to learn how to implement it.
Any direction? Klda or Kdla, are you there?
Thanks in advance, Missy
[CODE]<p>here is the paragraph</p>[/CODE]
[CODE]<p />
<a href="help.html" onmouseover="document.help.src='helpon.gif'" onmouseout="document.help.src='help.gif'">
<img src="help.gif" name="help" width="163" height="22" alt="How You Can Help" border="0" />
</a>[/CODE]
[CODE]<p>
<a href="help.html" onmouseover="document.help.src='helpon.gif'" onmouseout="document.help.src='help.gif'">
<img src="help.gif" name="help" width="163" height="22" alt="How You Can Help" border="0" />
</a>
</p>[/CODE]
[code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang= "en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Language" content="en" />[/code]
[code=html]<img src="genesisbar.jpg" width="844" height="40" border="0" alt="Website Creation donated by GENESISonLine to support families effected by cancer" />
</a>[/code]
[code=html]<img src="genesisbar.jpg" width="844" height="40" border="0" alt="Website Creation donated by GENESISonLine to support families effected by cancer" /></a>[/code]
[code=html]style="border: 3px solid #3f4f32;" [/code]
[code=html]<tr><td colspan="2">
<a href="http://www.mygenesisonline.com">
<img src="genesisbar.jpg" width="844" height="40" border="0" alt="Website Creation donated by GENESISonLine to support families effected by cancer" /></a>
</td></tr>[/code]
[code=html]<tr><td colspan="2"><a href="http://www.mygenesisonline.com"><img src="genesisbar.jpg" width="844" height="40" border="0" alt="Website Creation donated by GENESISonLine to support families effected by cancer" /></a></td></tr>[/code]
[code=html]<table style="width:842px">[/code]
[code=html]table{
border: 1px solid #465a39;
background: none #6e8e59
}[/code]
[code=html]table{
border: 1px solid #465a39;
background: none #6e8e59
}
td{
border: 1px solid #465a39;
padding: 0
}
[/code]
[code=html]table{
border: 1px solid #465a39;
background: none #6e8e59;
border-collapse: collapse;
}
td{border: 1px solid #465a39;
padding: 0}
[/code]
[code=html]table{
border: 1px solid #465a39;
background: none #6e8e59;
[COLOR=Red]border-spacing: 1px;[/COLOR]
}
td{border: 1px solid #465a39;
padding: 0}
[/code]
[code=html]<dl>
<dd>item1</dd>
<dd>item2</dd>
</dl>[/code]
[code=html]<tr><td valign="top">
<dl>
<dd><a href="story.html"onmouseover="document.story.src='storyon.gif'"
onmouseout="document.story.src='story.gif'"><img src="story.gif" name="story" width="163"
height="22"alt="Our Story" border="0" /></a>
</dd>
<dd><a href="support.html" onmouseover="document.support.src='supporton.gif'"
onmouseout="document.support.src='support.gif'"><img src="support.gif" name="support" width="163"
height="44" alt="Services Available to Help Families" border="0" /></a>
</dd>
<dd>
<a href="help.html" onmouseover="document.help.src='helpon.gif'"
onmouseout="document.help.src='help.gif'"><img src="help.gif" name="help" width="163"
height="22" alt="How You Can Help" border="0" /></a>
</dd>
<dd>
<a href="calendar.html" onmouseover="document.calendar.src='calendaron.gif'"
onmouseout="document.calendar.src='calendar.gif'"><img src="calendar.gif" name="calendar" width="163"
height="22" alt="Calendar" border="0" /></a>
</dd>
<dd>
<a href="links.html" onmouseover="document.links.src='linkson.gif'"
onmouseout="document.links.src='links.gif'"><img src="links.gif" name="links" width="163"
height="22" alt="Helpful Links" border="0" /></a>
</dd>
<dd>
<a href="contact.html" onmouseover="document.contact.src='contacton.gif'"
onmouseout="document.contact.src='contact.gif'"><img src="contact.gif" name="contact" width="163"
height="22" alt="Contact Us" border="0" /></a>
</dd>
<dd>
<a href="index.html" onmouseover="document.home.src='homeon.gif'"
onmouseout="document.home.src='home.gif'"><img src="home.gif" name="home" width="163"
height="22" alt="Homepage" border="0" /></a>
</dd>
</dl>[/code]
[code=html]dl{
margin:0;
padding:0
}
dd{
margin:0;
padding:0
} [/code]
[code=html]dl{
margin:0 0 30px 0;
padding:0
}
dd{
margin:15px 0 0 0;
padding:0
} [/code]
[code=html]div { margin: 15px;
overflow: scroll;
height: 417px;
text-align: left;
}[/code]
[code=html]
overflow-y: scroll;
[/code]
[code=html]
overflow-y: auto;
[/code]
[code=html]<div class="nav"> ... </div>[/code]
[code=html].nav {
margin: 4px
padding: 1px
}
[/code]
[code=html]div { margin: 15px;
overflow: scroll;
height: 417px;
text-align: left;
}[/code]
[code=html]<div class="main">....[/code]
[code=html].main { margin: 15px;
overflow: scroll;
height: 417px;
text-align: left;
}[/code]
0.1.9 — BETA 6.16