Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 05-21-2007, 09:39 PM
eraserhead Offline
pp regular
 
Join Date: Dec 2006
Posts: 40
wrapping with tags

Hi there

This seems like a simple question, but I've searched everywhere without any luck!

I'm using different tags on the following code, but want everything on the same line without any line breaks...

Any suggestions?

<h2>
<a href="index.php?x=about" title="">about</a>
<h3>
<a href="index.phpshowimage=<IMAGE_ID>"></a><COMMENT_POPUP>
</h2>
</h3>

Many thanks!

Eraserhead
Reply With Quote
  #2  
Old 05-22-2007, 06:31 AM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
headline tags in HTML (<h2>, <h3>) are making a paragraph. Additionally you should respect the order of opening tags when closing them.
Why don't you use
<h2>
<a href="index.php?x=about" title="">about</a>
&nbsp;
<a href="index.phpshowimage=<IMAGE_ID>"></a><COMMENT_POPUP>
</h2>

KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #3  
Old 05-22-2007, 10:46 AM
eraserhead Offline
pp regular
 
Join Date: Dec 2006
Posts: 40
I was trying to use different colors etc.. (one for each tag) for the different links, but keep them on the same line.

Is there a way of stopping <h3> in my example from starting a paragraph?

Thanks again!

Eraserhead
Reply With Quote
  #4  
Old 05-22-2007, 03:04 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Easiest way would be to use CSS classes and <span> for that (span doesn't make a paragraph):

<H2>
<span class="blue">
<a href="index.php?x=about" title="">about</a>
</span>
&nbsp;
<span class="red">
<a href="index.phpshowimage=<IMAGE_ID>"></a>
</span>
&nbsp;
<span class="green">
<COMMENT_POPUP>
</span>
</h2>

and define
.red
.blue
.green
in CSS

KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:31 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs