Jump to content

OrionSuperman

New Members
  • Posts

    6
  • Joined

  • Last visited

OrionSuperman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello everyone! I have just finished my first HTML/CSS class, so I have a lot left to learn. One of the unfortunate things that was not covered at all in my class was cross-browser compatability. I made my website where it looked good in Chrome, but had things broken in IE and FireFox. A friend suggested I try converting some of my 'loose html5 coding' to the more strict XHTML. Any feedback or suggestions would be very welcome overall, and specifically checking how this looks across browsers. I'm currently at work where I'm stuck using Win XP with IE7. It looks so broken on IE 7 I wouldn't know where to start. www.rusticspices.com/ (original project) www.rusticspices.com/xhtmltest.html (testing xhtml changes) xhtmltest.html
  2. I'm fairly new to HTML/CSS so if my solution is wrong I apologize. Due to the order of precedence in CSS, why do you not just add another CSS tag specifically for .googlead and set its padding to 0px? That should over-ride any inherited padding it has acquired.
  3. www.rusticspices.com is where I am at after my first class, 3 months ago I had never touched HTML/CSS. This semester I am taking classes on PHP and Wordpress, but I am planning to do a lot outside of class to expand my learning. Like participating on forums such as this and building applications and websites. Reading back over my post I really could have edited down the whole section on college and whatnot into 'I lacked direction after high school'. Alas, such is the curse of a somewhat rambling introduction.
  4. To start I do not have the knowledge currently to accomplish what you are looking for. One day I hope to, but not yet. My question is would using something like Wordpress work for what you are wanting? It is a pre-built platform that has membership options and is free. I'm taking a class in Wordpress right now and depending on what your site is/needs to do, that might be a great fit.
  5. http://tournasdimitrios1.wordpress.com/2011/11/18/sending-html-email-with-attachment-using-phps-mail-function/ This is where I pulled the code from. It looks like there was supposed to be a period before the = sign. As well (due to my extreme newness in PHP) there were some other variables set that may be relevant to fixing the code. I hope this helps!
  6. Greetings to all who happen upon this post. I learn best when I am out of my depth, hence the title of my post. If you see me trying to answer advanced questions (be the answers right or wrong) it is my attempt to learn every aspect of PHP, not just those taught to me in a class. My name is Orion Supergan and I am 29 years old, joyfully married with a little fatty of a one year old son. A single line of text does so little to flesh out a person, so here is where I go on about what I consider important for an idea of who I am. This post may be a bit of a ramble, so if you end up reading it all my thanks to you. My current life goal is to get into a position where I am able to financially provide for my family to allow my wife her dream of being a stay at home mom. I am driven and motivated to the point that I am not only doing my class work to excellence, but giving myself outside projects to learn as much at the fastest rate possible. I am no longer working for my own petty base desires, but for a goal that is worthy of accepting as many failures as possible to find success. To make better lives for those who bring value to mine. I am in my second semester of classes. Last semester I took a HTML/CSS class and had a lot of fun. My final project is available at www.rusticspices.com . The site is best viewed in Chrome, as unfortunately the class did not teach anything on cross-browser compatability. I am always open to advice and suggestions from those who know more than me (which is everyone in this group). There is no time more important than the present, but no way to properly interpret it than from the viewpoint of the past. Where to start, where to start. I attended college right out of high school, not because I wanted to, but because my mother informed me that I would be kicked out otherwise. I failed my first year, but convinced the review board that the second year would be different, and failed that year too. I had anxiety to the point that I would do anything to ignore what was causing me stress. Not leaving my dorm room for a week at a time, living on ramen and easy-mac. Anxiety to me is a mental prison, a car burning out at max RPM and going nowhere. Not to make an excuse but I now blame my diet for a large portion of why I failed for so many years. I am gluten intolerant, an issue that seems to be a 'fad statement' for many. How I experience the symptoms is almost entirely in my brain. I have fog, trouble thinking, tiredness, lack of motivation, poor memory. I would literally head to the cupboard to get something for dinner and end up with a soda in my hand, having completely forgotten why I was at the cupboard. The difference between myself now and a few years ago is unbelievable to me. Nearly photographic memory, incredible speed of thought and attention to detail are the normal state of my brain. I was always a person who was told they had 'potential'. And I have blatantly wasted what potential I had for most of my life up until recently. It was easier to not try or start, rather than risk failing. Everything has changed for me now. Partially from my diet, predominantly because of my wife and son. I now have a reason to succeed. Gone are the days of just passing by barely able to sustain myself and being content at that. Surprise gifts at unexpected times for no other reason than knowing the person would appreciate it. I take joy in giving gifts, the more meaningful the better. My favorite gift I've given would be for my best friend. I took a refrigerator box and bought packing peanuts to fill the entire thing. Interspersed in the peanuts were 100 party poppers, 200 1$ bills, 100 items from the dollar store, and and at the very bottom of the box was an Xbox 360. I wish I had a video of him opening it, he had to stand on a chair to get into the top and was pulling things out like crazy. At one point he fell INTO the box and it toppled over, but he just continued to crawl further into the peanuts to pull things out. And now after all that reading, a question. At what point in my programming journey should I start looking for a job working with PHP? How much knowledge should I have as a basis? In a perfect world I would start now, learning on the job every day along the vein of learning to speak a foreign language fastest by going to that country. I want to engross myself from the start to where programming becomes second nature, but I know that is not the likeliest of scenarios. May your day be brilliant, Orion Supergan
  7. Not sure exactly what problem you are having, but my guess is the jagged edges. I am not very experienced, but here is my take on the situation. You are using a transparent .png for your logo, and the edges of the letters are semi-transparent which IE has a problem with. If it is above 50% it is becoming solid, under 50% becoming 100% transparent. You can use fill on the background in an image editor to the same color as your current background color and that will smooth the lines. Hope this fixes the issue?
  8. I am very very new to PHP, so if this is an absolutely idiotic and wrong answer, please forgive. What you currently have now: $message = stripslashes($_POST['message']); Possible changes: $result = file_get_contents('php://input'); $message = "Content-Type: image/jpg; name=\"picture.jpg\"\r\n" ."Content-Transfer-Encoding: base64\r\n" ."Content-disposition: attachment; file=\"picture.jpg\"\r\n" ."\r\n" .chunk_split(base64_encode($result)) ."--1a2a3a--";
  9. I'm not quite willing to test the code based on the descriptions... but I'll give you my ideas based on what I see in the code. You can try adding margin-left:auto; margin-right:auto; to the .videodesc in CSS, this should pad the words to the center of the div it is within. You may have to remove the absolute positioning to have this work properly. Changing the positioning to relative will also allow you to adjust the position with top:-15px; etc.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.