Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 08-23-2008, 06:57 PM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 23
Angry <a name=> woes...

Hello,

I'm trying to link within the page, and it works like a charm... for two of the links. One of the broken links, "Media", will go to the link, but puts it in the middle of the page instead of the top. The other link, "Press", does nothing at all...

Offending page here: http://craigwermert.com/danew.html

I've seen the <a name=> used with java effects, where is scrolls down the page instead of jumping to the spot. Anyone know how to achieve this effect?
werm82 is offline   Reply With Quote
Old 10-11-2008, 05:51 AM   #2 (permalink)
Bronze Member
 
sheanhoxie's Avatar
 
Join Date: Sep 2008
Location: San Diego, CA
Posts: 57
Default

Not sure if youve found a solution to this or not. Looks to me like everything is working, but you might want to keep the name scheme the same amongst the name and id of the anchors. Some of them are: name=press id=Press, keep them all lowercase and then try again. Other than that, everything seems to work fine for me. The fact that some of the links only bring you to the middle of the page is usually associated with the browser hitting the bottom of the page

Good Luck!
__________________
Shean Hoxie
Web Designer / Developer
Hoxie Web Design - Professional and Affordable
OSCommerce, Yahoo Stores, Joomla and more
sheanhoxie is offline   Reply With Quote
Old 10-11-2008, 06:00 AM   #3 (permalink)
Bronze Member
 
sheanhoxie's Avatar
 
Join Date: Sep 2008
Location: San Diego, CA
Posts: 57
Default

oh yea, also, you need to avoid the frame! You can accomplish this same effect without a frame. Create a container div @ approx 800px, float it left and then set a background for the body of the page. Set the background position as top right and background-attachment as fixed and background-repeat to no-repeat
Code:
<style type="text/css">
body {
      background-image: url('yourimage.jpg');
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: top right;
      background-color: #HEXCOLOR;
}
.container {
      width: 800px;
      float: left;
}
</style>
__________________
Shean Hoxie
Web Designer / Developer
Hoxie Web Design - Professional and Affordable
OSCommerce, Yahoo Stores, Joomla and more
sheanhoxie is offline   Reply With Quote
Old 10-11-2008, 06:38 AM   #4 (permalink)
Bronze Member
 
voodish's Avatar
 
Join Date: Sep 2008
Location: North Wales, UK
Posts: 95
Default

It's because there is no room for the page to scroll any further...

Create some space / extra content at the bottom of the page and it'll work as planned.
__________________
Voodish
Creative Director
Web Design Portfolio
Web Development Articles
voodish is offline   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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:40 AM.


Computer Forum - TechZine - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.