4 replies [Last post]
newdude
newdude's picture
Offline
Enthusiast
Last seen: 6 years 22 weeks ago
Timezone: GMT-5
Joined: 2008-11-29
Posts: 187
Points: 285

if you look at this post (http://www.goldcoastchamber.com/wordpress/?p=99) you'll notice that towards the bottom it looks like

2) To Pay By Credit Card:

Please click here for members:
buy_now Please click here for non-members:
buy_now Payment Deadlines: No refunds for cancellations after October 31 2009 , no substitutions or carry overs. no credit cards accepted at the door, all reservations considered firm.

but the way i am trying to make it appear is as follows:
2) To Pay By Credit Card:

Please click here for members:
buy_now

Please click here for non-members:
buy_now

Payment Deadlines: No refunds for cancellations after October 31 2009 , no substitutions or carry overs. no credit cards accepted at the door, all reservations considered firm.

my html looks like this:

2) To Pay By Credit Card:
 
Please click here for members:
<img class="alignnone size-full wp-image-100" title="buy_now" src="http://www.goldcoastchamber.com/wordpress/wp-content/uploads/2009/10/buy_now.gif" alt="buy_now" /></span>
 
Please click here for non-members:
<img title="buy_now" src="http://www.goldcoastchamber.com/wordpress/wp-content/uploads/2009/10/buy_now.gif" alt="buy_now" />
 
<strong>Payment Deadlines</strong>: No refunds for cancellations after October 31 2009 , no substitutions or carry overs. no credit cards accepted at the door, all reservations considered firm.

and when i look on the VISUAL tab, everything appears as I want it. but when i look at the actual post on the site, the alignment and returns are all off. please advise how i fix??????? thanks!

AttachmentSize
sample.jpg16.59 KB
JmaJeremy
Offline
Regular
Montreal, Canada
Last seen: 13 years 20 weeks ago
Montreal, Canada
Timezone: GMT-5
Joined: 2009-11-25
Posts: 12
Points: 15

So far as I can tell from

So far as I can tell from your HTML, there's no actual tag indicating a line break. If you want a line break you have to use the tag < br > (or < br /> in XHTML), without the spaces, of course.

It would be helpful to see the full source code or a live example, as the link you gave doesn't appear to have the payment form on it.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 2 years 14 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Since you don't have

Since you don't have completely valid html on the linked page, you don't have any valid reason to complain about how the page looks in any given browsers. Browsers assume valid html and when they don't get it they have to guess, and they all guess differently.

So, validate that html before you complain that it doesn't work.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

newdude
newdude's picture
Offline
Enthusiast
Last seen: 6 years 22 weeks ago
Timezone: GMT-5
Joined: 2008-11-29
Posts: 187
Points: 285

thanks Jeremy. I've tried

thanks Jeremy. I've tried both methods of line breaks but neither seems to work. i've also even tried to put the following but that didnt work either. any other thoughts?

<p>&nbsp;</p>

ed, this is my first ever wordpress site and i'm using a template i downloaded and dont have the slightest clue how to fix a lot of that stuff so bear with me here.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 2 years 14 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

newdude wrote: ed, this is my

newdude wrote:

ed, this is my first ever wordpress site and i'm using a template i downloaded and dont have the slightest clue how to fix a lot of that stuff so bear with me here.

Yeah, a lot of people try to do that, and a lot of people end up with truly awful wordpress sites. Wordpress or not, you can't avoid the fact that CSS rules don't apply to invalid html, so browsers must attempt to error correct and, since there is no standard for error correction, they all tend to do it differently.

Wordpress in the hands of those who don't understand html is more of a royal road to a bad site than a shortcut to creating a web page, in my opinion. Most of the themes out there are truly bad, alas.

Until you learn how html works and get the html code in your template fixed you'll run across this kind of problem time and again.

On the other hand, with a little real knowledge and understanding, it's possible with a bit of work to put together a very good wordpress site. It's perfectly possible for your theme to output valid and semantic code in a proper strict document type. I know this because I've done it.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.