473,466 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

conditional formatting for IE7- CSS issue

MSK
Hi,

I am a newbie to CSS , I have an issue in my project
its java based web app, all the pages are looking fine
IE6,Firebox...but the problem is appearing in IE7

basically some div class heights are not showing the object properly

how to fix... If I increase the height parameter then the page is not
appearing properly in IE6

can we have some conditional parameter in the css ..something like
this

mainblock:
{
margin: 0em 0em 0em 0em
height:36%
/* I think the following will overwrite the height for IE 7
only ..Isn' it?*/
<!--[if IE7]>
height:50%
<![endif]-->
}

but its not working fine, I think the syntax is wrong... how to achive
this ? I dont want to have multiple css file for each and having the
reference (rel) in all the documents..

Thanks

MSK.

May 3 '07 #1
5 6700
On 3 May, 12:54, MSK <mannaikart...@yahoo.comwrote:
its java based web app, all the pages are looking fine
IE6,Firebox...but the problem is appearing in IE7
Post a URL. How else can we see the problem?

It's a HTML problem and nothing to do with Java. JSP just makes plain
old HTML, it doesn't make magic Java-HTML. If you can't show us an
intranet Java webapp, then copy the resultant HTML and upload it
somewhere we can see it.

I doubt very much if you need to tweak anything for IE7 specifically.

May 3 '07 #2
MSK
Thanks for your response, sorry in this time I am not able to give
much about the project (url or screen shots.)

bascially I want to use a single css file for all the browsers
(including IE7), my current CSS is working fine for IE6 ,lower
versions of IE and firefox but some minor issue in IE7 , I want to fix
the issue for IE7
so I want to change the CSS file , I dont want to change JSP or JAVA
files...how to change ?

please give me some idea

Thanks
MSK

May 3 '07 #3
MSK wrote:
Thanks for your response, sorry in this time I am not able to give
much about the project (url or screen shots.)

bascially I want to use a single css file for all the browsers
(including IE7), my current CSS is working fine for IE6 ,lower
versions of IE and firefox but some minor issue in IE7 , I want to fix
the issue for IE7
so I want to change the CSS file , I dont want to change JSP or JAVA
files...how to change ?

please give me some idea
You do not seem to understand without *seeing* what you have how could
we possibly advise you? It's like playing "I spy with my little eye..."

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
May 3 '07 #4
MSK wrote:
>
mainblock:
{
margin: 0em 0em 0em 0em
height:36%
/* I think the following will overwrite the height for IE 7
only ..Isn' it?*/
<!--[if IE7]>
height:50%
<![endif]-->
}

but its not working fine, I think the syntax is wrong...
Multiple declarations must be separated by the use of semicolons (;).

--
Gus
May 3 '07 #5
MSK <ma***********@yahoo.comwrote:
news: 11*********************@y80g2000hsf.googlegroups.c om
Hi,

I am a newbie to CSS , I have an issue in my project
its java based web app, all the pages are looking fine
IE6,Firebox...but the problem is appearing in IE7
[snip]
mainblock:
{
margin: 0em 0em 0em 0em
height:36%
/* I think the following will overwrite the height for IE 7
only ..Isn' it?*/
<!--[if IE7]>
height:50%
<![endif]-->
}
[snip]

<!-- Style for everyone -->
<style type="text/css">

</style>

<!-- Style for IE 7 -->
<!--[if IE 7]>
<style type="text/css">

</style>
<![endif]-->

<!-- Style for IE 6 -->
<!--[if IE 6]>
<style type="text/css">

</style>
<![endif]-->

--
BootNic Friday, May 04, 2007 12:02 AM

You can turn painful situations around through laughter. If you can
find humor in anything - even poverty - you can survive it.
*Bill Cosby*

May 4 '07 #6

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

Similar topics

2
by: John Kreps | last post by:
(acc 2002) I've got six unbound text boxes on a subform that has a white background. Each of those six boxes has an expression that when true, will change its background from white to another...
3
by: Jouke Langhout | last post by:
Hello all! For quite some time now, I've got the following problem: Access won't close properly when a user closes the application. An ACCESS process stays active and that process can only be...
4
by: Bradley | last post by:
I have an A2000 database in which I have a continuous form with a tick box. There is also a text box with a conditional format that is based on the expression , if it's true then change the...
8
by: Dimitri Furman | last post by:
Given: Access 2002/2003 A subform in datasheet or continuous view, placed on a tab page (this last may or may not matter) Conditional formatting applied to some controls on the subform - format...
2
by: Sara | last post by:
The problem: Conditional formatting bold, red when field Value < date() sets the field background to white - always - whether condition is met or not. I want the field unfilled and just red/bold...
1
by: GGerard | last post by:
Hello Is there a way to use a variable in the Conditional Formatting of a Textbox? Example : I want the background of a textbox in a continuous form to change color when the value of...
8
by: Typehigh | last post by:
I have many text fields with conditional formatting applied, specifically when the condition is "Field Has Focus". Without any events associated with the fields the conditional formatting works...
4
by: midlothian | last post by:
Hello, I have conditional formatting set up on a subform based on a calculated value in the underlying query. For instance, if Sales are >$1000, the query displays "Yes," otherwise it displays...
2
by: Filips Benoit | last post by:
Dear All, Access 2003 adp on SQL_server 2005 A continious form showing 1 month based on table 'CALENDAR_MONTH_GRID' and fill with a SP. Fields: Companyname, Day1, day2, etc. The value in the...
10
by: afromanam | last post by:
Regards, Please help What I'm trying to do is this: (and I can't use reports since I must export to Excel) I export some queries to different tabs in an excel workbook I then loop through...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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...

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.