Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Reply
Old 09-10-2009, 03:09 AM   #1 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default HTML Content Inside Image

Anyone know how to go about this?

Here's the page: Baez Computers Inc. - Desktops

As you can see it scrolls left and right using Spry. I want a border around that scroll box but I'm not really sure how to go about doing that.

If anyone has an idea I'm all ears!
__________________

Baez is offline   Reply With Quote
Old 09-10-2009, 10:36 AM   #2 (permalink)
synergy's Avatar
 
Monster Techie

Join Date: Mar 2005

Location: Somewhere between a 1 and a 0

Posts: 1,677

synergy will become famous soon enoughsynergy will become famous soon enough

Send a message via MSN to synergy Send a message via Yahoo to synergy Send a message via Skype™ to synergy
Default Re: HTML Content Inside Image

Add this to the div containing the spry's:
HTML Code:
style="border:solid #000000 1px; width:450px"
So your code for the opening div tag would be:
HTML Code:
<div id="computers" class="SlidingPanels" tabindex="0" style="border:solid #000000 1px; width:450px"> 
Alternatively you can add that code to the CSS that controls that section (#computers) in the following form:
Code:
border:solid #000000 1px; 
width 450px;
Setting the width to 450 pixels will control what is displayed within the div. Right now, with it set at default, it's at 100% page width (or parent div width). Obviously you can change the values to be whatever you want.

Hope that helps.
__________________

Windows 7 Professional 64-bit
HTPC: Phenom II X4 920 | Biostar TA790GX XE mATX w/ ATI HD 3300 IGP | 4 GB Dominators DDR2 1066
LG Blu-Ray/HD-DVD ROM + DVD RW | WD Caviar 1 TB | 250 GB Cuda | Antec Veris Fusion Black HTPC Case
Logitech diNovo Edge KB | Win7 Pro 64-bit

3dMark06 23,159 | 3dMark Vantage 23,579 | TF2 Stats Page

Last edited by synergy; 09-10-2009 at 10:39 AM.
synergy is offline   Reply With Quote
Old 09-10-2009, 11:42 AM   #3 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: HTML Content Inside Image

Thanks syn. I already know how to do that though .

I mean a border using an image. Either multiple images to make a box, so 4 side images with 4 corner images, or one image going all the way around the containing div.

So basically an image like this:


__________________

Baez is offline   Reply With Quote
Old 09-10-2009, 05:17 PM   #4 (permalink)
synergy's Avatar
 
Monster Techie

Join Date: Mar 2005

Location: Somewhere between a 1 and a 0

Posts: 1,677

synergy will become famous soon enoughsynergy will become famous soon enough

Send a message via MSN to synergy Send a message via Yahoo to synergy Send a message via Skype™ to synergy
Default Re: HTML Content Inside Image

Well, CSS3 has new border functions. You could try that. I've also used JS/css for a border that has a gradient. It doesn't have rounded corners and it has a little hack for Firefox, so it doesn't validate.

CSS3 module: Border
CSS Backgrounds and Borders Module Level 3
Dynamic Drive CSS Library- CSS3 Box Shadows ("box-shadow" property)
__________________

Windows 7 Professional 64-bit
HTPC: Phenom II X4 920 | Biostar TA790GX XE mATX w/ ATI HD 3300 IGP | 4 GB Dominators DDR2 1066
LG Blu-Ray/HD-DVD ROM + DVD RW | WD Caviar 1 TB | 250 GB Cuda | Antec Veris Fusion Black HTPC Case
Logitech diNovo Edge KB | Win7 Pro 64-bit

3dMark06 23,159 | 3dMark Vantage 23,579 | TF2 Stats Page
synergy is offline   Reply With Quote
Old 09-10-2009, 06:06 PM   #5 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: HTML Content Inside Image

Hmm do you think using a div with a background of that image and then putting the spry divs inside would work?
__________________

Baez is offline   Reply With Quote
Old 09-11-2009, 04:24 PM   #6 (permalink)
synergy's Avatar
 
Monster Techie

Join Date: Mar 2005

Location: Somewhere between a 1 and a 0

Posts: 1,677

synergy will become famous soon enoughsynergy will become famous soon enough

Send a message via MSN to synergy Send a message via Yahoo to synergy Send a message via Skype™ to synergy
Default Re: HTML Content Inside Image

Probably, but then that whole image would have to load. That's more of a workaround, but I suppose it would work. The image is only 3K, so it's not a huge issue.
__________________

Windows 7 Professional 64-bit
HTPC: Phenom II X4 920 | Biostar TA790GX XE mATX w/ ATI HD 3300 IGP | 4 GB Dominators DDR2 1066
LG Blu-Ray/HD-DVD ROM + DVD RW | WD Caviar 1 TB | 250 GB Cuda | Antec Veris Fusion Black HTPC Case
Logitech diNovo Edge KB | Win7 Pro 64-bit

3dMark06 23,159 | 3dMark Vantage 23,579 | TF2 Stats Page
synergy is offline   Reply With Quote
Old 09-14-2009, 12:16 AM   #7 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: HTML Content Inside Image

Well it worked out well. You can see what I did now. Thanks for your help syn
__________________

Baez is offline   Reply With Quote
Old 09-15-2009, 05:43 AM   #8 (permalink)
zedman3d's Avatar
 
I am of the highest lvl..

Join Date: Oct 2007

Location: Sydney, Australia

Posts: 2,452

zedman3d will become famous soon enoughzedman3d will become famous soon enough

Default Re: HTML Content Inside Image

Site looks good.
__________________



My pick up line is: I know Vernong.

Trotter: "Ask all the questions you want... whatever we don't know, we'll make
up something that sounds pretty good."

Antec-User: "I have a display now, but the darn system is crash-bandicoot on stock"
zedman3d 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Photographer's FAQ ComatoseClown Digital Photography & Imaging 4 08-07-2009 09:53 PM
Google Image Relinker Osiris Tips, Tricks & Tutorials 0 07-27-2009 08:49 AM
Check HTML With CSE HTML Validator Lite Osiris Tips, Tricks & Tutorials 0 07-10-2009 08:35 AM
NanoBSD a how to. Saxon BSD and associated systems 0 06-22-2009 09:04 PM