|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Ok - I have 2 very separate questions, but I think they both belong here so here goes:
1. I have a search box, using FD Search engine, on a 29px high bar in my site codestone. At the minute my site fully validates with w3c apart from this search form. The thing is if I move the form tags so that they validate, they make the bar considerably thicker, which doesn't fit in with the design of the site. Would anyone PLEASE be able to look at my code and tell me how to fix this problem. I would like the site to fully validate, but this search form just will not validate AND stay formatted. Any tips most welcome I have tried everything I can think of! 2. I am using css lists in a mailer I am making and have not used them before. I can't give the mailer address but this is the code I have in my css file for lists: ol {list-style-type:disc; list-style-position:inside; padding-left:0px; margin-left:0px; display:block; } ul li {list-style-image:url("http://www.codestone.net/systemone/bullet.gif"); list-style-position:outside; margin-top:0px; padding-top:0px;} and the list sits inside a td which has the class 'sap' which is this: .sap {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; color: #003366; line-height: 20px; font-weight: normal; text-decoration: none; padding-right: 10px; } the code for the lists in my html is this: <tr> <td valign="top" class="sap">
[*]Powerful User and Group-level Security administration[*]Customisable Reporting utilising Crystal Reports[*]Advanced Search facilities across all database fields and ranges[*]Tight Integration with Microsoft Office[*]Built using Microsoft development tools, with SQL Server 2000 database [/list]
</tr> but I have big spaces between the <ul> bullet and the[list=1]lists - about a line's worth of space - how do I get rid of this? Again any tips much appreciated. Sorry for the long post - look forwadr to some more great advice from WPW memebers!! Thanks x |
|
|||
|
1. Apply a style to the form with the margin set to 0
2. Either apply a style to the elements to change the top margin or restructure the code to: Code:
|
|
|||
|
Code:
<tr bgcolor="#364580">
<td><form style="margin: 0; padding: 0;" method="get" action="http://www.codestone.net/searcheng/search.pl"><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>[img]images/pixel.gif[/img]</td>
<td></td>
<td align="right"><input type="image" src="images/search.gif" value="Search"/></td>
<td><input name="Terms" class="searchbox" id="fdse_TermsEx"/></td>
</tr>
<tr>
<td>[img]images/pixel.gif[/img]</td>
<td>[img]images/pixel.gif[/img]</td>
<td>[img]images/pixel.gif[/img]</td>
<td>[img]images/pixel.gif[/img]</td>
</tr>
</table></form></td>
</tr>
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |