CSS, XHTML, ASP
- Started
- Last post
- 9 Responses
- mg33
For you experts:
I have a page that is CSS/XHTML layout, no tables, using an imported css page.
I have saved the page as an ASP page and am using the "#include virtual" feature include external pages into divs (to try something other than iframes) The external files are .inc with HTML tags but nothing like full HTML page formatting.Anything wrong with doing this? The ASP page validates as proper XHTML.
Just wondering if this is too frankenstein of a way to avoid iframes.Thanks.
- PonyBoy0
Enter response:
i have no clue what you're talking about exactly - but if you get it working... please post it so we can try and follow what sounds like a good idea.
- trooperbill0
nope its how we do stuff, BTW for security you should make your includes .asp files, that way they cant be downloaded from the server (a hacker trick is to make your site fallover and back track through error page code which is displayed or downloaded)
- QuincyArcher0
what you're doing will work just fine, but it's difficult to pull off correctly. post the page for our review.
- mg330
Thanks guys, I will post it eventually, will need to take work stuff out of it.
Man, I love the web dev. toolbar on FF. What have we done without this?
I have the XHTML/ASP page validated as XHTML Transitional.
When trying Strict, I was getting errors saying you can't have a target "_blank" in a url.
Anyone else know what that's about?My whole thing is to avoid iframes while also building something that could be developed into a CMS.
- thismanslife0
I second everything trooperbill said. You're not doing anything weird or new. That's how it's done.
But yeah, you'd be wise to use .asp instead of .inc
- mg330
Thanks, I did change to asp.
Glad to know some of you have done similiar. I really appreciate your help. :)
- instantok0
the target attribute is deprecated with xhtml strict (i think)...i use a bit of code from travis beckham to get around it:
http://justinmacnair.com/things/…
this will pop links to external urls in a new window...i'm sure you could tweak it to find certain ids if you have local files that need to be in new windows
- mg330
Is there any real problem with keeping it Transitional vs. Strict?
The link thing is all that's holding me back to Transitional.
- jevad0
no