Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Entering code appropriately?
Uniqs:
71
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Was playing with Frontpage today, got this... »
« webhost reviews... anfyhost?  

stlrsfan
Premium
join:2001-11-07
Larchmont, NY
clubs:

Entering code appropriately?

I have a message board, vBulletin, which I would like to add a small simple form to have users sign up for a newsletter at the top.

I've added the code and all works fine, but it just doesn't look right. I've tried various ways to do this all resulting in the same distorted view.

I would like the form box to be dead center. Also, you'll notice what it does to the code on the right. The "welcome back" and "the current time" lines are supposed to be one just below the other, with my code added they are making a huge space between them. Here is the code I added:

*****

Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br>
<b>Enter email address to receive US Message Board Newsletter</b>
<form action="http://www.myboard.com/cgi-bin/mojo/mojo.cgi">
<input type="hidden" name="flavor" value="subscribe">
<input type="hidden" name="list" value="usmess">
<input type="text" name="email" value="email address" size="20">
<input type="submit" value="Submit">
</form>


</smallfont></td>
<td align="right"><smallfont><br>

The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].

*****

Anyone know what I can do to make this look better?

Thank you!

p.s. the portion in bold letters is what I've added to the code.

netmanic
Stud Bull

join:2003-04-19
/conyers/ga

Re: Entering code appropriately?

add color? a few breaks?

stlrsfan
Premium
join:2001-11-07
Larchmont, NY
clubs:

Re: Entering code appropriately?

Click for full size
Ooops, I forgot to attach a picture so that you can see what I was talking about. I'm happy with the current color scheme. I think adding a few breaks might just make the problem worse (making the right and left columns even longer)

I want to keep the left and right columns (board code) intact and short, while adding the form dead center. Thus picture will give you a better idea. Thanks!

techwench
I Work For Food
Premium
join:2003-06-26
Sherman, TX

Re: Entering code appropriately?

Not quite sure what you want...you want to keep the left and right columns, and have the form box in the center? So you want it to be a middle column? Just add another <TD> in between the two columns.

If you don't want 3 columns, another option would be to add another <TR> with a <TD COLSPAN=2> below the left and right column row.

If that's not what you want either, I think the only other way would be a floating layer...of course, I could be wrong...
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersWas playing with Frontpage today, got this... »
« webhost reviews... anfyhost?  


Saturday, 05-Dec 02:08:29 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [163] Comcast Releasing Promised Usage Meter
· [145] Avast Antivirus Has Gone Mad
· [126] Comcast Makes NBC Universal Acquisition Official
· [104] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [88] The Bandwidth Hog Does Not Exist
· [83] FCC Ponders Moving From PSTN To IP Voice
· [81] Latest Consumer Reports Survey Not Kind To AT&T
· [74] Sprint Defuses GPS Privacy Media Bomb
· [70] Baltimore To Ban Lazy Cable Installs
Most people now reading
· False positive in Avast! or is it real? [Security]
· Windows 7 boot manager editing questions [Microsoft Help]
· Google takes aim at browser redirection [Security]
· DNS options, what are YOU using? [TekSavvy]
· Evading throttling with uTP / uTorrent 1.9a [TekSavvy]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Farewell [Bell Canada]
· What to use while demonoid is down? [Filesharing Software]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· [Snow Leopard] NFS Mounts - no more Directory Utility [All Things Macintosh]