This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > March 2006 > conflicting css markup screwing up page
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
conflicting css markup screwing up page
|
|
| Koenig 2006-03-28, 6:29 pm |
| I have two css styles - one provides a custom bullet to a list
..bulletstar {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 150%;
vertical-align: middle;
list-style-image: url(../images/bulletstar.jpg);
One formats a div so it flushes right and wraps the text around to the left
..wrap {
padding: 5px;
clear: left;
float: right;
width: 200px;
}
I have the custom bullets applied to a list, but as soon as I insert a .div
and apply the .wrap class it totally screws up the bullet list (bullets
disappear, list appears unordered etc).
How can I have my custom bullets, as well as the div to the right and have
the text of the page flow around it?
Source code for page below.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/aoty.dwt"
codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Apprentice of the Year - Assessment Process</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --> <!-- InstanceEndEditable -->
<link href="css/stylesheet.css" rel="stylesheet" type="text/css">
<style type="text/css">
table.navbar {
border-collapse: collapse;
}
table.navbar td {
border: 0px solid #000000;
}
table.navbar td a{
display: block;
width: 11em;
padding: 0px;
text-decoration: none;
}
table.navbar td a:link, table.navbar td a:visited {
color: #003399;
background-color: #fff;
}
table.navbar td a:hover, table.navbar td a:active {
color: #fff;
background-color: #cddbeb;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0" class="noimagerepeat">
<!-- #INCLUDE VIRTUAL="/includes/header.txt" -->
<table width="1000" border="0" cellpadding="0" cellspacing="0"
background="images/bground.jpg" class="thinborder">
<tr>
<td><p><a name="backtotop" class="noimagerepeat"></a><img
src="images/header.jpg" width="1000" height="121"><br>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" rowspan="3" valign="top"><img
src="images/logo.jpg" width="225" height="98"></td>
<td width="85%"> </td>
</tr>
<tr> <!-- InstanceBeginEditable name="heading" -->
<td height="50" align="left" valign="middle"
class="noimagerepeat"><img src="images/ap.jpg" width="600" height="45"></td>
<!-- InstanceEndEditable --></tr>
<tr>
<td> </td>
</tr>
</table>
<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0"
class="noimagerepeat">
<tr>
<td width="250" valign="top" background="images/sidebar.jpg"
class="defaultfont">
<p><img src="images/140spacer.jpg" width="250" height="1"></p>
<table width="75%" border="0" align="center" cellpadding="0"
cellspacing="5" class="navbar">
<tr>
<td bgcolor="#FFFFFF" class="cellheight"><font size="4"
face="Arial, Helvetica, sans-serif"><a
href="results.asp">Results</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="index.asp">Background</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="ap.asp">Awards
/ Prizes</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="participate.asp">How
to Participate</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="assessment.asp">Assessment
Process</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="faq.asp">FAQ</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="navbar"><font size="4"
face="Arial, Helvetica, sans-serif"><a href="guidelines.asp">Guidelines
for Mentors & Managers</a></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><font size="4" face="Arial, Helvetica,
sans-serif"><a href="contactus.asp">Contact
Us</a></font></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><img src="images/sidebar2.jpg" width="225" height="427"></p>
<p> </p></td>
<td width="897" rowspan="2" valign="top"> <table width="90%"
border="0" cellspacing="0" cellpadding="10">
<tr>
<td valign="top"><!-- InstanceBeginEditable name="body" -->
<div class="wrap"><p class="defaultfont"><strong>Resources</strong></p>
<p class="wrap">Below are links to some resources that
will
assist you with your application and assessment for
the
QR Apprentice of the Year. All these documents have
been
made available in pdf format. </p>
<p align="center" class="defaultfont"><a
href="docs/wpperforasssheet.pdf">Workplace
Performance Assessment Sheet</a></p>
<p align="center" class="defaultfont"><a
href="docs/guidlines-vb.pdf">Guidelines
for Values & Behaviours Assessment Sheet</a></p>
<p align="center" class="defaultfont"><a
href="docs/perfvaluesbehsheet.pdf">Performance
Values & Behaviours Sheet</a></p>
<p align="center" class="defaultfont"><a
href="docs/workperftafebehanchors.pdf">Workplace
Performance and Tafe Behavioural Anchors</a></p>
</div><span class="defaultfont">The
assessment process is based around an evaluation of the
apprentice’s
performance in relation to: </font> </span>
<ul>
<li class="bulletstar"> Progress in the workplace</li>
<li class="bulletstar"> Demonstration of QR Values and
Behaviours</li>
<li class="bulletstar"> Progress at TAFE</li>
</ul>
<p class="defaultfont">Assessments are conducted by the
apprentice’s
supervisors or co-ordinators, content experts or
workplace
mentors, depending on who is the most appropriate at the
time
of assessment.</font></p>
<p class="defaultfont">The Simon Law Encouragement Award
assessment
process involves:</font></p>
<ul>
<li class="bulletstar"> Assessment in the workplace by 1
June
2006</font></li>
<li class="bulletstar"> Assessment in the workplace by
15
August 2006</font></li>
</ul>
<p class="defaultfont">*There is no requirement for a TAFE
assessment
for first year apprentices</font></p>
<p class="defaultfont">The Mechanical, Electrotechnology
and
Construction and Allied Trades category assessment
process
involves:</font></p>
<ul>
<li class="bulletstar"> Assessment in the workplace by 1
June
2006</font></li>
<li class="bulletstar"> Assessment in the workplace by
15
August 2006</font></li>
<li class="bulletstar"> TAFE Assessment due by 15 August
2006 </font>
</li>
</ul>
<p class="defaultfont">Finalists will be chosen for the
four
categories based on the results of the above
assessments.
One finalist will be selected, per category, from each
site
within your business group. </font></p>
<p class="defaultfont">For example, there will be a
finalist
in the Mechanical category from RACS Redbank, RACS
Rockhampton
and RACS Townsville. </font></p>
<p class="defaultfont"><img src="images/Seminar.jpg"
width="300" height="305" hspace="10" align="right">Once
finalists have been selected further assessment will be
conducted
by the final judging panel. This panel will consist of
at
least the following:</font></p>
<ul>
<li class="bulletstar"> A senior manager from one of the
business
groups</font></li>
<li class="bulletstar"> A union official (selected on a
rotational
basis)</font></li>
<li class="bulletstar"> The program
co-ordinator</font></li>
</ul>
<p><span class="defaultfont">The final judging panel will
interview
all finalists and the winners will be decided based on
the
results of this interview process and the assessments
conducted
throughout the year.</span><span
class="defaultfont"><br>
</span> </p>
<!-- InstanceEndEditable --></td>
</tr>
</table>
<p> </p></td>
</tr>
<tr>
<td valign="top"> <p> </p>
</td>
</tr>
</table></td>
</tr>
</table>
<table border="0" width="660" align="center" class="footer">
<tr>
<td valign="middle" align="center" width="450">
<!-- #INCLUDE VIRTUAL="/includes/qrcopy.txt" -->
</td>
<td width="210" align="left" valign="middle" class="defaultfont">
Authorising
Manager: G Mullins<br>
Gatekeeper: A Wells<br>
Author: <a href="mailto:isg.infonet@qr.com.au">T Gensch</a><br>
Last updated:
<!-- #BeginDate format:Am1 -->March 28, 2006<!-- #EndDate -->
</td>
</table>
</body>
<!-- InstanceEnd --></html>
| |
| Murray *ACE* 2006-03-28, 6:29 pm |
| > .bulletstar {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 12px;
> line-height: 150%;
> vertical-align: middle;
> list-style-image: url(../images/bulletstar.jpg);
List images are very notoriously flaky. I don't use them. Instead, I use a
background image, no-repeat, with enough padding to push the list content
far enough right to clear the image.
> One formats a div so it flushes right and wraps the text around to the
> left
>
> .wrap {
> padding: 5px;
> clear: left;
> float: right;
> width: 200px;
> }
I'm not really clear what you want here. Furthermore, your use of
individual table cells for these things sorta confuses the issue....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|