473,779 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What are the alternatives to TEXT-ALIGN:right?

Hi All

This has been bugging me for months and I just can't my finger on why it
won't work in Safari/FireFox (IE lets me off cos it's nice liek that).

In essence, the offending code is as follows:

<TD CLASS="NavBarHe aderCellB">
<!-- #include file="../incs/sprocs/fred.asp" -->
</TD>
</TR>

fred.asp consists of:

<TABLE CELLPADDING=0 CELLSPACING=0 CLASS="PickLang ">
<TR><TD>
<IMG SRC='skins/fred.gif' BORDER=0>
</TD></TR>
</TABLE>

The NavBarHeaderCel lB class consists of the following CSS:

..NavBarHeaderC ellB
{
WIDTH:*%;
COLOR:#EA662A;
FONT-FAMILY:tahoma,a rial,helvetica, sans-serif;
FONT-SIZE:11px;
FONT-WEIGHT:bold;
TEXT-ALIGN:right;
}

The PickLang class consists of the following CSS:

..PickLang
{
WIDTH:200px;
PADDING-RIGHT:2px;
TEXT-ALIGN:right;
}

The problem is that the fred.gif' image won't go to the right, however if I
put actual text in either the NavBarHeaderCel lB <TD> or the PickLang <TD>
then the text will automatically go to the right. Its as if the
TEXT-ALIGN:right only does just that, ie puts text to the right not images.

If I put an 'ALIGN="RIGHT"' in either of the <TD>'s then the image does go
to the right.

Could you please let me know what command I should be using to get my image
(or form object if used) to the right.

Thanks

Robbie
Jul 21 '05 #1
1 10977
Have you tried:
..NavBarHeaderC ellB img {
float:right;
}

and setting .NavBarHeaderCe llB 'width:auto;' rather than 'width:*%;'
(assumming the *% isn't a value to be added later)?
!!??!!
"Astra" <No@Spam.com> wrote in message
news:11******** *****@corp.supe rnews.com...
Hi All

This has been bugging me for months and I just can't my finger on why it
won't work in Safari/FireFox (IE lets me off cos it's nice liek that).

In essence, the offending code is as follows:

<TD CLASS="NavBarHe aderCellB">
<!-- #include file="../incs/sprocs/fred.asp" -->
</TD>
</TR>

fred.asp consists of:

<TABLE CELLPADDING=0 CELLSPACING=0 CLASS="PickLang ">
<TR><TD>
<IMG SRC='skins/fred.gif' BORDER=0>
</TD></TR>
</TABLE>

The NavBarHeaderCel lB class consists of the following CSS:

.NavBarHeaderCe llB
{
WIDTH:*%;
COLOR:#EA662A;
FONT-FAMILY:tahoma,a rial,helvetica, sans-serif;
FONT-SIZE:11px;
FONT-WEIGHT:bold;
TEXT-ALIGN:right;
}

The PickLang class consists of the following CSS:

.PickLang
{
WIDTH:200px;
PADDING-RIGHT:2px;
TEXT-ALIGN:right;
}

The problem is that the fred.gif' image won't go to the right, however if
I
put actual text in either the NavBarHeaderCel lB <TD> or the PickLang <TD>
then the text will automatically go to the right. Its as if the
TEXT-ALIGN:right only does just that, ie puts text to the right not
images.

If I put an 'ALIGN="RIGHT"' in either of the <TD>'s then the image does go
to the right.

Could you please let me know what command I should be using to get my
image
(or form object if used) to the right.

Thanks

Robbie

Jul 21 '05 #2

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

Similar topics

1
3710
by: Colin Thomas | last post by:
Hey, I am having an issue where I need to display preformatted text (already has the <pre> tag) within a area that I designate with stylesheets. How can I get the area specified in a css class to stay the same width and scroll to show the preformatted text. Right now, the pre tag is causing the area to widen. Thanks, Colin
13
4341
by: Daniel Heiserer | last post by:
Hi, I want to fill a string like this: using namespace std; string text=" now a lot of text ................ now a lot of text ................ now a lot of text ................ now a lot of text ................ now a lot of text ................
2
3265
by: Lloyd | last post by:
I am trying to insert text in a text area. I need to insert one set of values on the left side of the text area and have corresponding values on the left side of the text area in an even column. How do I specify which column in a text area to insert text? document.textform.textarea.col.value == "put it here" If not possible, then can I insert text left aligned then insert text right aligned on the same row? Lloyd *** Sent via...
10
2189
by: st4 | last post by:
Help, As part of my family history web site i need to get 150 pages of typed text into some format to display. It just text right now but I would like to add some graphics (photos) and make the text more friendly to read. I am thinking to divide it into smaller chapters and to format it something like a newspaper article. But just learning about HTML, 150 pages just seems like too greater task. Is there a shortcut or another way to do...
0
1651
by: Gidi | last post by:
Hi, i'm writing this question again, since i didn't get an answer in the reply i wrote, i hope it's ok. My user default language is hebrew and in some specific TextBoxs i want that the default language will be english. I asked here and the answer i got was that the best way to do so, is by getting the Hebrew Letter and Change it to it's parallel English letter on the keyboard. i didn't such a function (with switch and case) but i'm...
1
1702
by: Martin Ortiz | last post by:
I'm using status bar, I didn't find any mention of limitation to text length, why is my text in status bar cut off? (I'm using it in "text mode", so whole bar should display text, right now, it's about 3/4 of bar, rest of text is cut off)
3
8763
by: mehdi | last post by:
I have a field that is a memo and I have a report displaying the text in that memo. What I need to know is how to "justify" the text right to left. The reason is in arabic and persian language we write right to left. What I want:
2
2092
by: Mark1234567 | last post by:
I have a user who wants to enter Arabic text right-to-left in our 97 Runtime. He says he can enter the text in but it is left-to-right. Any ideas how?
1
2877
by: samueltilden | last post by:
I have Infragistics 2007, Volume 3: I have a UltraStatusBar with two UltraStatusPanels: 1. Left Panel and 2. Right Panel I want the Right Panel to appear on the right and to have its text right justified. The RightPanel.SizingMode = Spring does not seem to work as the comparable option does with Microsoft's regular
10
1344
by: =?Utf-8?B?QXJ0eVNpbg==?= | last post by:
I'm trying to display a text file on a web page and the code below works fine and display the text on a webpage. However,if I use (as I need to) a masterpage and then place the code in a webform that uses the masterpage all it does is display the words 'Meeting minutes' which is the header for the text right at the bottom of the code below. Is there something in a masterpage that prevents this working at all? Cheers ArtySin <%@...
0
9633
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10137
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.