Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - H tag problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedH tag problems

 Post Reply Post Reply
Author
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Direct Link To This Post Topic: H tag problems
    Posted: 30 October 2005 at 2:48pm
I have the following code H2 & H3 are set in a CSS file.
 

<h2>CONTROL</h2>
  <h3>Home Page<br />
  Accessibility<br />
  Text Only<br/ >
  What's New</h3>
 
Problem is there is a gap between CONTROL and Home Page.  Is there a way to stop this.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Direct Link To This Post Posted: 30 October 2005 at 3:43pm
 
<h2 style="margin-bottom: 0;">CONTROL</h2>
  <h3 style="margin-top:0;">Home Page<br />
  Accessibility<br />
  Text Only<br/ >
  What's New</h3>
 
 
Back to Top
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Direct Link To This Post Posted: 30 October 2005 at 3:49pm
That works!
 
 
Thanks!
Back to Top
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Direct Link To This Post Posted: 31 October 2005 at 10:14am
<%
Response.Write ("<p "margin-bottom: 0;">") & ("<a href=""" & "" & recordset("url") & """ target=""_blank"">") & recordset("siteTitle")  & ("</p>") & ("</a> <br />")

%>

</div>
<div id="linkdetails">
<%
Response.Write ("<h5 style="margin-top:0;">") & recordset("details") & ("</h5>")
%>
 
I am trying to use this code again this time in the above senerio but can't get it to work.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Direct Link To This Post Posted: 31 October 2005 at 10:57am
It looks like your entire response.write needs to be redone. Look at the parentheses and quotes.
 
<%Response.Write ("<p ""margin-bottom: 0;"">") & ("<a href=""" & "" & recordset("url") & """ target=""_blank"">") & recordset("siteTitle")  & ("</p>") & ("</a> <br />")

%>

</div>

<div id="linkdetails">

<%

Response.Write ("<h5 style=""margin-top:0;"">") & recordset("details") & ("</h5>")

%>


Edited by dfrancis - 31 October 2005 at 10:58am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.