Reply
Scrolling in dreamweaver (noobie question)
Old 06-09-2006, 06:30 PM Scrolling in dreamweaver (noobie question)
Tayles's Avatar
Novice Talker

Posts: 14
I know this has probably been posted before, but im making a site hosted on apache, and using dreamweaver 8 to edit it ok,
well, i wanted a box with a vertical scroll on it so i could use it for updates etc, so it wouldnt occupy my space to much, well, i havent used frames before, and my page is just a normal page so i dont know how to insert the frame and if i have to do the whole page over again, if you want to know what i am on about please view www.tayles.ath.cx and click on the soma section. hopefully someone understands me, thank you
Tayles is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 06-09-2006, 07:53 PM Re: Scrolling in dreamweaver (noobie question)
vangogh's Avatar
Post Impressionist

Posts: 8,356
Name: Steven Bradley
Location: Boulder, Colorado
I think I understand and I have two suggestions. The first is to use an iframe. The code would look something like:

<iframe src="pathToYourFile.html" width="500" height="500" scrolling="auto""></iframe>
and then the information you want to display inside the iframe would be in pathToYourFile.html.

Here's a quick tutorial on iframes at W3Schools


The other way to do essentially the same thing is to place all the text you want to display inside of a div tag and then using some css set the overflow property to scroll or auto. So you might have something like:

<div class="scroll">
all the text you want to display
</div>

and your css:

div.scroll {overflow: auto} or div.scroll {overflow: scroll}

You'd probably also want to use more css to style things and you can specify the scroll or auto on just overflow-x or overflow-y.

Here's a page again from W3Schools to show you the the values you can use with the overflow property

Hope that helps.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-10-2006, 06:30 PM Re: Scrolling in dreamweaver (noobie question)
Tayles's Avatar
Novice Talker

Posts: 14
Thanks, that helped a lot, i made a new page for my update box im proud of it
I appreciate your help, thankfully i was guided to this forum after days of searching for html help lol
Site = bookmarked

I'll be back

Last edited by Tayles : 06-10-2006 at 06:53 PM.
Tayles is offline
Reply With Quote
View Public Profile
 
Old 06-11-2006, 02:25 PM Re: Scrolling in dreamweaver (noobie question)
vangogh's Avatar
Post Impressionist

Posts: 8,356
Name: Steven Bradley
Location: Boulder, Colorado
Glad I could help. I see you have an iframe on your site now so I guess that's the option you decided to go with.

Hope to see you back here again.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-11-2008, 09:00 AM Re: Scrolling in dreamweaver (noobie question)
Junior Talker

Posts: 2
The other way to do essentially the same thing is to place all the text you want to display inside of a div tag and then using some css set the overflow property to scroll or auto. So you might have something like:

<div class="scroll">
all the text you want to display
</div>

and your css:

div.scroll {overflow: auto} or div.scroll {overflow: scroll}


Hi VAGOGH

is this method serach engine friendly?
Thanks in advance
tofayel is offline
Reply With Quote
View Public Profile
 
Old 05-11-2008, 09:57 AM Re: Scrolling in dreamweaver (noobie question)
chrishirst's Avatar
Super Moderator

Posts: 11,442
Location: Blackpool. UK
What has search engines got to do with it?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-11-2008, 12:00 PM Re: Scrolling in dreamweaver (noobie question)
Junior Talker

Posts: 2
Hi thank you for your reply, I meant all the words I will put between the "<div class="scroll">" and "</div>" will it be read by search engine crawler easily as normal html text? I have been advised not to use frames for SEO reason but i dont know why? Thanks
tofayel is offline
Reply With Quote
View Public Profile
 
Old 05-11-2008, 03:53 PM Re: Scrolling in dreamweaver (noobie question)
vangogh's Avatar
Post Impressionist

Posts: 8,356
Name: Steven Bradley
Location: Boulder, Colorado
The content in the iframe would be seen as coming from a different URL, but inside the div it would be seen as coming from the same URL as the rest of the page.

Assuming you want the content to be see as part of the page then yes using the div is more search engine friendly, but if it's not important for that content to be seen as being part of the same page then it probably doesn't make a difference.

The important thing is that the iframe pulls content from a different URL than the page and the div is displaying content on the same URL as the page and they will be read as normal html text.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Scrolling in dreamweaver (noobie question)
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14009 seconds with 13 queries