Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-2008, 10:03 PM
Eyesaretired
 
Posts: n/a
% based table width


I have a table that is 85% width, how do I create an image for the header row
where the image contains text on the right side and a watermark that fills up
the left side.

If I create an image that is 640pixels, it's too small and leaves blank space
in the table. If I create the image 1,000 pixels, it increases the size of the
table.

How can I create an image where the text and the watermark don't get
stretched, but still have it fit perfectly into an 85% table width?

I'm using PSPPhotoX2 to create the image.

Thanks




Reply With Quote
  #2 (permalink)  
Old 07-28-2008, 10:10 PM
P@tty Ayers ~ACE
 
Posts: n/a
Re: % based table width


"Eyesaretired" <webforumsuser@macromedia.com> wrote in message
news:g6lc6l$pqn$1@forums.macromedia.com...
>
> I have a table that is 85% width, how do I create an image for the header
> row
> where the image contains text on the right side and a watermark that fills
> up
> the left side.
>
> If I create an image that is 640pixels, it's too small and leaves blank
> space
> in the table. If I create the image 1,000 pixels, it increases the size
> of the
> table.
>
> How can I create an image where the text and the watermark don't get
> stretched, but still have it fit perfectly into an 85% table width?
>
> I'm using PSPPhotoX2 to create the image.


An 85% width table will display at many different pixel widths on different
monitors. In one person's browser it will be 1200 px, while in another
person's browser it will be only 500 px.

So, you can't create an image that will fit perfectly into an 85% wide table
on all of those different monitors.

Why are you using a percentage width for the table? If there isn't a good
reason, you could set it in pixels instead.

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

Reply With Quote
  #3 (permalink)  
Old 07-28-2008, 10:33 PM
Michael Fesser
 
Posts: n/a
Re: % based table width

..oO(P@tty Ayers ~ACE)

>"Eyesaretired" <webforumsuser@macromedia.com> wrote in message
>news:g6lc6l$pqn$1@forums.macromedia.com...
>>
>> I have a table that is 85% width, how do I create an image for the header
>> row
>> where the image contains text on the right side and a watermark that fills
>> up
>> the left side.
>>
>> If I create an image that is 640pixels, it's too small and leaves blank
>> space
>> in the table. If I create the image 1,000 pixels, it increases the size
>> of the
>> table.
>>
>> How can I create an image where the text and the watermark don't get
>> stretched, but still have it fit perfectly into an 85% table width?
>>
>> I'm using PSPPhotoX2 to create the image.

>
>An 85% width table will display at many different pixel widths on different
>monitors. In one person's browser it will be 1200 px, while in another
>person's browser it will be only 500 px.
>
>So, you can't create an image that will fit perfectly into an 85% wide table
>on all of those different monitors.


Correct. But as a background image it doesn't have to fit perfectly.

>Why are you using a percentage width for the table?


To keep the layout flexible?

Just apply the image as a background, use HTML to put some text onto it,
position it with CSS if necessary and that's it. The image could even be
a bit wider than the expected width and fade out to a solid background.

I do a similar thing on my stepbrother's site for example (even though
it's not a table, but the method is the same):

http://ra-pauli.de/

See the top image (the four little texts on top of it may overlap by
intention - the entire "banner" part is just decoration). Resize the
browser window to see its behaviour.

>If there isn't a good
>reason, you could set it in pixels instead.


Flexibility is always a good reason. ;)

Micha
Reply With Quote
  #4 (permalink)  
Old 07-28-2008, 10:41 PM
Nancy O
 
Posts: n/a
Re: % based table width

Put this in your CSS (foo can be changed if you wish)

th.foo {
background: pink url(Images/watermark.gif) top left no-repeat;
text-align:right}

Put this in your table's html code:

<th class="foo">this is table heading text;</th>



--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com


"Eyesaretired" <webforumsuser@macromedia.com> wrote in message
news:g6lc6l$pqn$1@forums.macromedia.com...
>
> I have a table that is 85% width, how do I create an image for the header

row
> where the image contains text on the right side and a watermark that fills

up
> the left side.
>
> If I create an image that is 640pixels, it's too small and leaves blank

space
> in the table. If I create the image 1,000 pixels, it increases the size

of the
> table.
>
> How can I create an image where the text and the watermark don't get
> stretched, but still have it fit perfectly into an 85% table width?
>
> I'm using PSPPhotoX2 to create the image.
>
> Thanks
>
>
>
>



Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 01:56 PM
P@tty Ayers ~ACE
 
Posts: n/a
Re: % based table width


>>Why are you using a percentage width for the table?

>
> To keep the layout flexible?


Which works badly for a lot of users, and so I recommend against using -
certainly not for a beginner.

>>If there isn't a good
>>reason, you could set it in pixels instead.

>
> Flexibility is always a good reason. ;)


No, it's really not unless the person has advanced skills to make it work
well.

--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--

Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 05:10 PM
Eyesaretired
 
Posts: n/a
Re: % based table width

Hi all, thanks for the input.

I wanted to do a % table so that on a larger monitor, it wouldn't appear too
small if I were to do a pixel table. Likewise, if someone has a very small
monitor, it would still fit.

If I were to do a pixel table, was is the optimum width it should be?

Reply With Quote
  #7 (permalink)  
Old 07-29-2008, 05:26 PM
Murray *ACE*
 
Posts: n/a
Re: % based table width

> If I were to do a pixel table, was is the optimum width it should be?

It would depend entirely on your target demographic.


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Eyesaretired" <webforumsuser@macromedia.com> wrote in message
news:g6nfd6$6tf$1@forums.macromedia.com...
> Hi all, thanks for the input.
>
> I wanted to do a % table so that on a larger monitor, it wouldn't appear
> too
> small if I were to do a pixel table. Likewise, if someone has a very
> small
> monitor, it would still fit.
>
> If I were to do a pixel table, was is the optimum width it should be?
>


Reply With Quote
  #8 (permalink)  
Old 07-29-2008, 05:37 PM
Michael Fesser
 
Posts: n/a
Re: % based table width

..oO(Eyesaretired)

>I wanted to do a % table so that on a larger monitor, it wouldn't appear too
>small if I were to do a pixel table. Likewise, if someone has a very small
>monitor, it would still fit.


Good (and always my preferred layout method). Flexible layouts are a bit
harder to create, but always work on a wider range of user environments
than fixed layouts.

>If I were to do a pixel table, was is the optimum width it should be?


Patty had valid points regarding the layout skills. But if you want to
keep the layout flexible and know at least a bit how to do it, then you
should go that route. For the banner issue I already gave one possible
solution with using a CSS background image.

Fixed width may cause other problems, mainly because there is no optimum
width. You would have to decide for a single width, which might or might
not work for most of your visitors.

So keep it flexible, if possible.

Micha
Reply With Quote
  #9 (permalink)  
Old 07-29-2008, 06:16 PM
JoeyD1978
 
Posts: n/a
Re: % based table width

Up until recently, 790px was considered a safe standard. As of late, more
designers are using wider formats between 900-1000px.

You won't find many professional designers that use fluid widths. They create
more problems than they could ever fix.

Reply With Quote
  #10 (permalink)  
Old 07-29-2008, 06:22 PM
Murray *ACE*
 
Posts: n/a
Re: % based table width

> Up until recently, 790px was considered a safe standard.

I disagree. If there were such it would have been closer to 760px which is
about the maximum width you have available in your maximized browser
viewport on an 800px wide screen.

> As of late, more
> designers are using wider formats between 900-1000px.


And smaller too, given the popularity of mobile devices.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"JoeyD1978" <webforumsuser@macromedia.com> wrote in message
news:g6nj9f$aue$1@forums.macromedia.com...
> Up until recently, 790px was considered a safe standard. As of late, more
> designers are using wider formats between 900-1000px.
>
> You won't find many professional designers that use fluid widths. They
> create
> more problems than they could ever fix.
>


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are Off
[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 06:59 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Latin books Logic books Rhetoric texts | Debt Help | Mortgages | Mortgage Calculator | Mortgage calculator



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114