473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Padding in NS7

Is there a way to get NS7 to right-pad? With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right. In fact
if I push the padding up to a large number, it pushes the content out past
the right edge of the item. How can I get it to behave?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 20 '05 #1
10 2019
Els
Alan Little wrote:
Is there a way to get NS7 to right-pad?
It already does. (on my pages at least)
With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right. In fact
if I push the padding up to a large number, it pushes the content out past
the right edge of the item. How can I get it to behave?


url?

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #2
DU
Alan Little wrote:
Is there a way to get NS7 to right-pad? With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right. In fact
if I push the padding up to a large number, it pushes the content out past
the right edge of the item. How can I get it to behave?


Maybe posting an url showing the problem you see could help here.

DU
Jul 20 '05 #3
Carved in mystic runes upon the very living rock, the last words of Els
of comp.infosystems.www.authoring.stylesheets make plain:
Alan Little wrote:
Is there a way to get NS7 to right-pad?


It already does. (on my pages at least)
With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right.
In fact if I push the padding up to a large number, it pushes the
content out past the right edge of the item. How can I get it to
behave?


url?


http://dev.highland-alumni.com/temp/

In l1.php, in NavPanel I have

padding: 10px;
padding-right: 20px;

NS ignores the padding-right, and doesn't even do the 10px padding on the
right side of the element. In fact, it's even violating the width
property of the element, 170px, which reaches to the edge of the shadow.
In l2.php I have

padding: 30px;
padding-right: 20px;

to show this more clearly. IE and Opera display both pages just fine.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 20 '05 #4
Alan Little wrote:
Els wrote:
Alan Little wrote:
Is there a way to get NS7 to right-pad?
url?


http://dev.highland-alumni.com/temp/


That's directory with files.
In l1.php, in NavPanel I have
I loaded that file, but saw no css links. In fact, I didn't find any
HTML, either, despite you having advertised it as type text/html. Here's
a sample of what I did find:
<HTPHEAD TEMPLATE="Temp1" TITLE="Lorem Ipsum">

<HTPVAR NAME="NavPanel">
<IMG SRC="{{AppURI}}graphics/boardb.gif" WIDTH=120 HEIGHT=50
ALT="Board of Directors">
<BR><BR>

NS ignores the padding-right


What do you expect NS to do with your content? A Google search for
"HTPHEAD" reveals no clue about what this is.

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #5
Els
Alan Little wrote:
Carved in mystic runes upon the very living rock, the last words of Els
of comp.infosystems.www.authoring.stylesheets make plain:
Alan Little wrote:
Is there a way to get NS7 to right-pad?
It already does. (on my pages at least)

With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right.
In fact if I push the padding up to a large number, it pushes the
content out past the right edge of the item. How can I get it to
behave?


url?


http://dev.highland-alumni.com/temp/

In l1.php, in NavPanel I have


You have a funny mix of divs and half a table.
That table only is present by it's ending. Where's the rest?
Give your page a doctype, validate it, and then see if the
browser is obeying you :-)
padding: 10px;
padding-right: 20px;

NS ignores the padding-right, and doesn't even do the 10px padding on the
right side of the element. In fact, it's even violating the width
property of the element, 170px, which reaches to the edge of the shadow.
In l2.php I have
Same thing as above.
padding: 30px;
padding-right: 20px;

to show this more clearly. IE and Opera display both pages just fine.


I suppose they are very forgiving ;-)

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #6
Els
Brian wrote:
Alan Little wrote:
Els wrote:
Alan Little wrote:

Is there a way to get NS7 to right-pad?

url?


http://dev.highland-alumni.com/temp/


That's directory with files.
In l1.php, in NavPanel I have


I loaded that file, but saw no css links. In fact, I didn't find any
HTML, either, despite you having advertised it as type text/html. Here's
a sample of what I did find:

<HTPHEAD TEMPLATE="Temp1" TITLE="Lorem Ipsum">

<HTPVAR NAME="NavPanel">
<IMG SRC="{{AppURI}}graphics/boardb.gif" WIDTH=120 HEIGHT=50
ALT="Board of Directors">
<BR><BR>


That's funny, I found this:
<html>
<head>
<title>Highland Academy Alumni Association - Lorem Ipsum</title>
<link REL=STYLESHEET HREF="alum.css" TYPE="text/css">

</head>

(both directly after him posting it, and again after reading
your post)
NS ignores the padding-right


What do you expect NS to do with your content? A Google search for
"HTPHEAD" reveals no clue about what this is.


--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #7
Els
Els wrote:
http://dev.highland-alumni.com/temp/


That's directory with files.
In l1.php, in NavPanel I have


I loaded that file, but saw no css links. In fact, I didn't find any
HTML, either, despite you having advertised it as type text/html.
Here's a sample of what I did find:

<HTPHEAD TEMPLATE="Temp1" TITLE="Lorem Ipsum">

<HTPVAR NAME="NavPanel">
<IMG SRC="{{AppURI}}graphics/boardb.gif" WIDTH=120 HEIGHT=50
ALT="Board of Directors">
<BR><BR>

That's funny, I found this:
<html>
<head>
<title>Highland Academy Alumni Association - Lorem Ipsum</title>
<link REL=STYLESHEET HREF="alum.css" TYPE="text/css">

</head>


No, I see, you picked the l1.html instead of the l1.php.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #8
Carved in mystic runes upon the very living rock, the last words of
Brian of comp.infosystems.www.authoring.stylesheets make plain:
Alan Little wrote:
Els wrote:
Alan Little wrote:

Is there a way to get NS7 to right-pad?

url?
http://dev.highland-alumni.com/temp/


That's directory with files.


Yes, I gave the URL to the directory to make it easier to see all the
files being used.
In l1.php, in NavPanel I have


I loaded that file, but saw no css links. In fact, I didn't find any
HTML, either, despite you having advertised it as type text/html.
Here's a sample of what I did find:
<HTPHEAD TEMPLATE="Temp1" TITLE="Lorem Ipsum">


You loaded l1.html rather than l1.php. The HTML file is merely a
template.
What do you expect NS to do with your content? A Google search for
"HTPHEAD" reveals no clue about what this is.


It's a special tag used by the template processor.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 20 '05 #9
Carved in mystic runes upon the very living rock, the last words of Els
of comp.infosystems.www.authoring.stylesheets make plain:
Alan Little wrote:
Carved in mystic runes upon the very living rock, the last words of
Els of comp.infosystems.www.authoring.stylesheets make plain:
Alan Little wrote:

Is there a way to get NS7 to right-pad?

It already does. (on my pages at least)
With padding-right, it's completely
ignored. With padding, it pads top, bottom and left, but not right.
In fact if I push the padding up to a large number, it pushes the
content out past the right edge of the item. How can I get it to
behave?

url?


http://dev.highland-alumni.com/temp/

In l1.php, in NavPanel I have


You have a funny mix of divs and half a table.
That table only is present by it's ending. Where's the rest?
Give your page a doctype, validate it, and then see if the
browser is obeying you :-)


Doh! I've been working on my local system. I created those temp files and
uploaded them to the server, but didn't upload the latest header and
footer files. This whole site is in the process of being converted from
some very old, very ugly HTML. Without the table fragment, NS still
doesn't obey.

So, I added a DOCTYPE tag and now IE and Opera are doing the same thing.
Hey, at least we've got consistency now!

Could someone give me a shove in the right direction to do what I'm
trying to do here? It seems like it should be pretty straightforward.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 20 '05 #10
Els
Alan Little wrote:
>With padding-right, it's completely
>ignored. With padding, it pads top, bottom and left, but not right.
>In fact if I push the padding up to a large number, it pushes the
>content out past the right edge of the item. How can I get it to
>behave?

http://dev.highland-alumni.com/temp/

In l1.php, in NavPanel I have

So, I added a DOCTYPE tag and now IE and Opera are doing the same thing.
Hey, at least we've got consistency now!

Could someone give me a shove in the right direction to do what I'm
trying to do here? It seems like it should be pretty straightforward.


Found it :-)
You can see it yourself, if you add *{border:1px solid red;}
to the top of your stylesheet. See what happens after you
add a larger padding-right.

The padding does get added, but it's added to the width of
the div, instead of substracted to give the content less space.

So while adding padding, you should diminish the width.

Besides, validate your stylesheet, there are a few errors in
it. (a typo and some non-existent values)

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Red | last post by:
This is apparently an ie display bug, I can't seem to figure out which ie bug this is. a 3 sided border is created by wrapping the 'inner' box in the 'middle' box and padding the 'middle' box...
2
by: Knoxy | last post by:
Hello, I've noticed one or two people post on this before but nobody seems to have replied so raising the issue again... is this a known IE6 CSS bug? I have placed the following in my...
4
by: Wilhelm Kutting | last post by:
hi, when i use the padding-left attribut, i like to overwrite a default value like that ..padding30 {margin-left: 30px;} ..padding0 {margin-left: 0px;} <div class="padding30"> Padding 30...
13
by: Amarendra | last post by:
Folks, This structure padding issue is bothering me now, could not locate a satisfactory answer on clc, so here it goes... I have a structure, given below: typedef struct { int flag; char...
36
by: phil-news-nospam | last post by:
Here is a simpler (no drop shadows) example of the padding bug I see: http://phil.ipal.org/usenet/ciwas/2006-05-08/buttons-1.html So far I find nothing in the CSS2 document that says I should...
11
by: john_aspinall | last post by:
I want to put a simple padding on the right hand side of my text container to stop the text from overflowing out of the box. Ive added a padding-right rule and it refusing to recognise it in...
5
by: Hallvard B Furuseth | last post by:
Does struct assignment copy padding bytes? Some compilers do, but I couldn't find anything in the standard which says they must. What I need is for any padding bytes to contan initialized values...
12
by: Kislay | last post by:
case 1 : struct s { char c1; // 8 double d; // 8 int i1; // 4 char c2; // 4 int i2; // 4 };
6
by: maya | last post by:
hi, I recently discovered the hard way that when you had padding-right or padding-left to a div it increases the with of the div... how do you add left-padding or right-padding to a div w/o...
3
by: vippstar | last post by:
Hey comp.lang.c I'm somewhat confused with bit padding. I tried searching the FAQ, but there isn't a search feature, so I used google and the search query: site:c-faq.com padding. I did not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.