What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

Thanks.


The second problem is simple (if necessary, I can upload an example in some four hours.


But it's this:


Your screen is, say 1024 wide.

So when you set a table to "center", the centre of the table is at 512/513.

Now when you have to add a scrollbar, pixels are taken off of your screen width as the scrollbar takes pixels for itself.

So when set your table to "center", your table center moves the width of the scrollbar so the whole table is placed 9 pixels to the left. Compared to another table above it that has no scrollbar, this is ugly and unwanted.


Theoretically, this is not so much of a problem. I can either add a scroll with Java, or make one table 18 pixels wider so that it adjusts on the right-hand side with the other one, add a column of 18 pixels on the left-hand side and fill the rest with a nested table of the width I want.

But I feel there should be an easier solution as I'm certainly not the first one to meet this aligning issue.


What I want is, visually speaking, a rectangle ( table if you prefer) with a top part as navbar, and a bottom part for content. Yet because of that scrollbar, the bottom part moves nine pixels to the left instead of aligning perfectly.



As for the answer to the first question: ok, that's the code, but is this a Custom class or? See, custom classes have to be linked to text, while html changers (my expression) change things on the whole page if that page is linked to them. And I want to background information.


Anyways: thanks for this additional code! Gives even more options.


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top