473,322 Members | 1,755 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,322 software developers and data experts.

css not working in .aspx page

hello list,

I have the following code in a pure .html file:
http://rafb.net/paste/results/uBHL5J92.html
and it displays properly in both FF 1.506 and IE 6:
http://img146.imageshack.us/img146/8075/htmlokki0.jpg

However the same code in a .aspx file:
http://rafb.net/paste/results/6kOI2M88.html
it looks like this:
http://img150.imageshack.us/img150/3...pxwrongez9.jpg

Any or suggestion to get that css work properly with a aspx page?

Thanks in advance.

--
Sinceramente,
Josué Maldonado.

.... "La cultura es capaz de descifrar los enigmas en que nos envuelve la
vida."
Aug 9 '06 #1
4 1302
The CSS works on the client side. You have to look at the client-side HTML
generated. It may have something to do with the HtmlControl in the head
section, or browser caps. But the only way to know is to look at the
generated HTML, not the Template code.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

"Josue Maldonado" <jd**@foo.comwrote in message
news:ub**************@TK2MSFTNGP03.phx.gbl...
hello list,

I have the following code in a pure .html file:
http://rafb.net/paste/results/uBHL5J92.html
and it displays properly in both FF 1.506 and IE 6:
http://img146.imageshack.us/img146/8075/htmlokki0.jpg

However the same code in a .aspx file:
http://rafb.net/paste/results/6kOI2M88.html
it looks like this:
http://img150.imageshack.us/img150/3...pxwrongez9.jpg

Any or suggestion to get that css work properly with a aspx page?

Thanks in advance.

--
Sinceramente,
Josué Maldonado.

... "La cultura es capaz de descifrar los enigmas en que nos envuelve la
vida."

Aug 10 '06 #2
Hello Kevin, thanks for your reply,

Kevin Spencer wrote:
The CSS works on the client side. You have to look at the client-side HTML
generated. It may have something to do with the HtmlControl in the head
section, or browser caps. But the only way to know is to look at the
generated HTML, not the Template code.

the generated html of the .html file is this:
http://rafb.net/paste/results/q3kyxC24.html

the generated html of the .aspx file is this:
http://rafb.net/paste/results/AM74Om60.html

I was unable to find a real diff between both, they seems to be equal
except for the id="head1" in the last one, please let me know any
comments/suggestions.

Thanks in advance

--
Sinceramente,
Josué Maldonado.

.... "Tiramos hacia el neanderthal, como la cabra tira al monte." José
Jiménez Lozano. Escritor español.
Aug 10 '06 #3
Hi Josué,

I pasted the HTML into a couple of new Documents and viewed it in both
browsers (IE 6 and FF) - it was identical.

In fact, looking back at your images, posted on
http://img150.imageshack.us/img150/3...pxwrongez9.jpg, Other than the
browser itself, the web page looks identical to me also.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

"Josue Maldonado" <jd**@foo.comwrote in message
news:eo**************@TK2MSFTNGP03.phx.gbl...
Hello Kevin, thanks for your reply,

Kevin Spencer wrote:
>The CSS works on the client side. You have to look at the client-side
HTML generated. It may have something to do with the HtmlControl in the
head section, or browser caps. But the only way to know is to look at the
generated HTML, not the Template code.


the generated html of the .html file is this:
http://rafb.net/paste/results/q3kyxC24.html

the generated html of the .aspx file is this:
http://rafb.net/paste/results/AM74Om60.html

I was unable to find a real diff between both, they seems to be equal
except for the id="head1" in the last one, please let me know any
comments/suggestions.

Thanks in advance

--
Sinceramente,
Josué Maldonado.

... "Tiramos hacia el neanderthal, como la cabra tira al monte." José
Jiménez Lozano. Escritor español.

Aug 10 '06 #4
Kevin,
I pasted the HTML into a couple of new Documents and viewed it in both
browsers (IE 6 and FF) - it was identical.

In fact, looking back at your images, posted on
http://img150.imageshack.us/img150/3...pxwrongez9.jpg, Other than the
browser itself, the web page looks identical to me also.
Do you think could be something wrong in my dev box, I'm newbie to ASP
but I'm not sure if having .NET 1 and 2 installed in the same box could
may cause problems, I use VWD for asp.net development.

--
Sinceramente,
Josué Maldonado.

.... "Lo que un hombre desea, también lo imagina como cierto."
Aug 10 '06 #5

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

Similar topics

14
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they...
3
by: mark.irwin | last post by:
Hello all, Have an issue where a redirect pushes data to a page with a select case which then redirects to another page. Problem is the redirect isnt working in 1 case. Code below: strURL =...
8
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they...
2
by: tshad | last post by:
This has been driving me crazy. I have been trying to get the error handling working on my system and can get parts of it working and others won't work at all. I found that you can't access...
3
by: =?Utf-8?B?cHJhZGVlcF9UUA==?= | last post by:
Hi All, Can anyone please explain me why I am not able to disable Browser caching in ASP.net by writing the following code Response.Buffer = true; Response.ExpiresAbsolute =...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.