Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 10-27-2005, 04:46 PM
wadowiczanka's Avatar
wadowiczanka wadowiczanka is offline
Advancing Webmaster
 
Join Date: Nov 2004
Location: Toronto
Posts: 60
wadowiczanka is on a distinguished road
Default how to prevent links from moving to next line?

Please forgive my ignorance...

I just put together a simple HTML site for one of my domains, and am now polishing the look, before it get too large and out of hand.

Originally I set it up as a table, but the left menu was floating down once I had too much content, so I put my nose into a manual, and did a CSS style sheet. I set it up as blocks, and all worked beautifully, until I got to a page where I have a link within text.

That link keeps moving to a separate line
like that
and doesn't want to join the rest no matter what I do.

I tried to invent some coding, telling it: #link a {display: inline} - but I don't think this is anyhting valid, and it didn't change anything.

Anyone can tell me what I'm doing wrong? I'd hate to have to go back to using tables...
Reply With Quote
Old 10-27-2005, 06:32 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 15,161
webmaster will become famous soon enough
Default Re: how to prevent links from moving to next line?

there has to be something wrong with the way you have your links defined in the CSS as by default regular html text links will embed within your paragraph with no issue. Can you post a link to your style sheet?
__________________
Don't miss out on the 12 days of Christmas promo
Reply With Quote
Old 10-27-2005, 07:15 PM
wadowiczanka's Avatar
wadowiczanka wadowiczanka is offline
Advancing Webmaster
 
Join Date: Nov 2004
Location: Toronto
Posts: 60
wadowiczanka is on a distinguished road
Default Re: how to prevent links from moving to next line?

Thanks for your reply...

My son came back from work, deleted from my CSS file a line that said:
#content a {display: block}
and the problem was fixed.

I still have a problem with this site, though, because I just found that even new Opera does not recognize my style sheet, and the text is running over the images...

The website is already up, but it only looks good in Explorer. And I am using 5th edition of Elizabeth Castro HTML with XHTML and CSS book...
Reply With Quote
Old 10-27-2005, 07:28 PM
RobertD RobertD is offline
Advancing Webmaster
 
Join Date: Sep 2005
Posts: 63
RobertD is on a distinguished road
Default Re: how to prevent links from moving to next line?

My first suggestion is take out the script tags from your linked css files. No script tags in the actual css files.

Secondly, look at www.w3c.org for information about Document Type Definitions (DTD). If you don't have the correct DTD, the browser will default to a lower level of css.

Try using the following DTD:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Reply With Quote
Old 10-27-2005, 10:20 PM
Boston Condo Guy Boston Condo Guy is offline
Advanced Webmaster
 
Join Date: Jul 2005
Location: Boston, MA
Posts: 566
Boston Condo Guy is on a distinguished road
Thumbs up Re: how to prevent links from moving to next line?

Good thread
__________________
285 Columbus Lofts - New 63-unit Boston loft development in the former Red Cross building
FP3 Boston Condos - FP3 Fort Point Channel Boston Seaport Condos
Boston Real Estate - Providing Google Map based search of condo developments
Reply With Quote
Old 10-28-2005, 10:14 PM
SEO Jason SEO Jason is offline
Über Mod
 
Join Date: Jul 2004
Location: Nanaimo, B.C.
Posts: 1,237
SEO Jason is on a distinguished road
Send a message via MSN to SEO Jason
Default Re: how to prevent links from moving to next line?

you look like your just trying to increase your post count TheBoulderRealtor
Reply With Quote
Old 10-29-2005, 09:28 AM
wadowiczanka's Avatar
wadowiczanka wadowiczanka is offline
Advancing Webmaster
 
Join Date: Nov 2004
Location: Toronto
Posts: 60
wadowiczanka is on a distinguished road
Default Re: how to prevent links from moving to next line?

Jason, I don't know if I understood your intentions. SO please correct me if I'm wrong.

You suggest I should be sitting on my ass (pardon my French) and waiting for everyone else's website to be better than mine?

I am trying to use the time that I gained, all of a sudden, from being dropped several pages down, and improve what I have. Is that so bad?

I am also trying to get some information from some of you who might know more. Is that so bad?

And, when I figure something out, I come back and share what I learned, sitting with my nose to the keyboard for the last few days. Perhaps I shouldn't. Is that what you had in mind? It's just the way you guys write I sense a lot of enmity... But perhaps I read it wrong.

Please take into account that English is my - I wanted to say second, but actually it is fourth - language (not that I retained well the other two, learned before it), and in some instances I may misunderstand your intent.
Reply With Quote
Old 10-29-2005, 11:20 AM
SEO Jason SEO Jason is offline
Über Mod
 
Join Date: Jul 2004
Location: Nanaimo, B.C.
Posts: 1,237
SEO Jason is on a distinguished road
Send a message via MSN to SEO Jason
Default Re: how to prevent links from moving to next line?

Greetings wadowiczanka,

I don't think that you understood my intentions. My post was written as a response to what "TheBoulderRealtor" wrote. Not to what you wrote. He wrote "Good thread" and to me it didn't seem like that post was necessary in the conversation that was going on, so I gave him a friendly reminder to not post just to increase his post count.

I applaud you for using your time to improve what you have and I am one of the first people to respond and help out when I can.
Reply With Quote
Old 10-29-2005, 11:39 AM
denns25 denns25 is offline
Real Estate WebMaster
 
Join Date: Sep 2005
Location: Louisiana
Posts: 101
denns25 is on a distinguished road
Default Re: how to prevent links from moving to next line?

I don't know how much this might add to the help:

One thing I always try to do is minimize the amount of table/cell structure information defined in the CSS. I try as much as possible to let the web page handle all the table/cell sizing, orientation, fonts, etc while letting the CSS do what it was invented for - to make it easy to make mass changes to my information. Using this technique I find myself making far less changes to accomodate FireFox, Opera, and IE. (IE intentionally listed last. heheh)

...just 2 cents from this small brain.
__________________
Shreveport Bossier City Real Estate - Shreveport Bossier City Real Estate features an MLS search, home building advice, and FREE FSBO listings.
Reply With Quote
Old 10-29-2005, 09:32 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 15,161
webmaster will become famous soon enough
Default Re: how to prevent links from moving to next line?

Jason, although we try to dis-courage "me to" posting please refrain from making public reminders, if a member needs to be reminded of a rule here, please use the private message funtion.

Keep in mind, we need to look at the quality of member and posts, theboulderrealtor has been making great contributions and asking great questions here, we discourage "me to" posting, because we dont want spammers here, just trying to get more backlinks from their sig, this is a community and once someone has proven themselves as a member of the community we can certainly allow a little more leway when evaluating posts.

Sorry about the tangent this thread took, I am glad you got your issue resolved, I appologize if anyone was offended.
Keep up the great work guys
__________________
Don't miss out on the 12 days of Christmas promo
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Real Estate Webmasters on Facebook

For our members

Main Sections

IDX Coverage Areas

You can find us at

Spiders Welcome

All times are GMT -7. The time now is 03:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.